summaryrefslogtreecommitdiffstats
path: root/test/SConscript/SConscriptChdir.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-20 16:50:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-20 16:50:54 (GMT)
commit18e4b000061b0cc22d5fbb44df4e68e740d7afb8 (patch)
tree9160b9feb418baa302cf5c9ed590cf1a66d36f2f /test/SConscript/SConscriptChdir.py
parent2ce34914cff387ad0db3e8d3dd4347a79a058640 (diff)
downloadSCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.zip
SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.gz
SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.bz2
py2/3 fix win32 py27 failures. Also resolve some py3 failures
Diffstat (limited to 'test/SConscript/SConscriptChdir.py')
-rw-r--r--test/SConscript/SConscriptChdir.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/SConscript/SConscriptChdir.py b/test/SConscript/SConscriptChdir.py
index 2e25acf..6cd4566 100644
--- a/test/SConscript/SConscriptChdir.py
+++ b/test/SConscript/SConscriptChdir.py
@@ -76,10 +76,10 @@ f.close()
test.run(arguments=".", stderr=None)
-test.must_match(['dir1', 'test.txt'],"This is the dir1 test.\n")
-test.must_match(['dir2', 'test.txt'], "This is the dir2 test.\n")
-test.must_match('test.txt',"This is the dir3 test.\nThis is the dir5 test.\n")
-test.must_match(['dir4', 'test.txt'],"This is the dir4 test.\n")
+test.must_match(['dir1', 'test.txt'],"This is the dir1 test.\n", mode='r')
+test.must_match(['dir2', 'test.txt'], "This is the dir2 test.\n", mode='r')
+test.must_match('test.txt',"This is the dir3 test.\nThis is the dir5 test.\n", mode='r')
+test.must_match(['dir4', 'test.txt'],"This is the dir4 test.\n", mode='r')
test.pass_test()