summaryrefslogtreecommitdiff
path: root/test/RANLIB
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-31 16:14:23 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-31 16:14:23 -0400
commitfc54c2515dccd1db8217ec3ef7836e684c63d60f (patch)
tree4c6f788c2d34fe5ef8cb8d22311ab5534c9018e6 /test/RANLIB
parentabffcb7f25f7a7928d96900c7aa9d5606b5a67a9 (diff)
downloadscons-fc54c2515dccd1db8217ec3ef7836e684c63d60f.tar.gz
py2/3 fix test.read mode='r', swap fail_test(test.read( with must_match
Diffstat (limited to 'test/RANLIB')
-rw-r--r--test/RANLIB/RANLIB.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RANLIB/RANLIB.py b/test/RANLIB/RANLIB.py
index 8d64b362..3bcb4144 100644
--- a/test/RANLIB/RANLIB.py
+++ b/test/RANLIB/RANLIB.py
@@ -100,7 +100,7 @@ test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(test.read('wrapper.out') != "wrapper.py\n")
+test.must_match('wrapper.out',"wrapper.py\n", mode='r')
test.pass_test()