summaryrefslogtreecommitdiff
path: root/test/LINK
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 23:07:10 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 23:07:10 -0400
commit496d5d4655ec5eaaf5f47b70a0a5e9f08a310ff3 (patch)
tree41e70391cb38e33f949d88c517f1e10327c3de6a /test/LINK
parent75eec4b5eb4adbd3ee041021f3ee0a62c1d5b669 (diff)
downloadscons-git-496d5d4655ec5eaaf5f47b70a0a5e9f08a310ff3.tar.gz
py2/3 add mode='r' to must_match. Should fix some win32 failures
Diffstat (limited to 'test/LINK')
-rw-r--r--test/LINK/LINK.py2
-rw-r--r--test/LINK/SHLINK.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/LINK/LINK.py b/test/LINK/LINK.py
index 533163c21..6c99134c8 100644
--- a/test/LINK/LINK.py
+++ b/test/LINK/LINK.py
@@ -74,7 +74,7 @@ test.must_not_exist(test.workpath('wrapper.out'))
test.run(arguments = 'bar' + _exe)
-test.must_match('wrapper.out', "wrapper.py\n")
+test.must_match('wrapper.out', "wrapper.py\n", mode='r')
test.pass_test()
diff --git a/test/LINK/SHLINK.py b/test/LINK/SHLINK.py
index 9b546c792..9d406fce1 100644
--- a/test/LINK/SHLINK.py
+++ b/test/LINK/SHLINK.py
@@ -72,7 +72,7 @@ test.must_not_exist(test.workpath('wrapper.out'))
test.run(arguments = dll_ + 'bar' + _shlib)
-test.must_match('wrapper.out', "wrapper.py\n")
+test.must_match('wrapper.out', "wrapper.py\n", mode='r')
test.pass_test()