summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-19 04:28:40 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-19 04:28:40 (GMT)
commit7d7a10b4ffa5520df11af22108c7d449959e2ee6 (patch)
tree0043db09d56b82abc3493a201a4d8030aacc8dc9
parent35c64fe52aef2c95e5ff95cb3811abb9383b096a (diff)
parentd624a087a4ed7768052f0ab1c614ea6864179dd5 (diff)
downloadSCons-7d7a10b4ffa5520df11af22108c7d449959e2ee6.zip
SCons-7d7a10b4ffa5520df11af22108c7d449959e2ee6.tar.gz
SCons-7d7a10b4ffa5520df11af22108c7d449959e2ee6.tar.bz2
merge
-rw-r--r--test/option--max-drift.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option--max-drift.py b/test/option--max-drift.py
index 08fafd1..4e063c9 100644
--- a/test/option--max-drift.py
+++ b/test/option--max-drift.py
@@ -109,14 +109,14 @@ atime = os.path.getatime(test.workpath('foo.in'))
mtime = os.path.getmtime(test.workpath('foo.in'))
test.run()
-test.fail_test(test.read('foo.out') != 'foo.in\n')
+test.must_match('foo.out', 'foo.in\n', mode='r')
test.write('foo.in', 'foo.in delta\n')
os.utime(test.workpath('foo.in'), (atime,mtime))
test.run()
-test.fail_test(test.read('foo.out') != 'foo.in\n')
+test.must_match('foo.out', 'foo.in\n', mode='r')
test.pass_test()