summaryrefslogtreecommitdiffstats
path: root/test/CXX/CXX.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/CXX.py')
-rw-r--r--test/CXX/CXX.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py
index 83c4285..abccf1e 100644
--- a/test/CXX/CXX.py
+++ b/test/CXX/CXX.py
@@ -178,7 +178,7 @@ env.Program(target = 'test6', source = 'test6.C')
test.run(arguments = '.', stderr = None)
- test.must_match('test6' + _exe, "This is a .C file.\n")
+ test.must_match('test6' + _exe, "This is a .C file.\n", mode='r')
@@ -224,7 +224,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()