summaryrefslogtreecommitdiff
path: root/test/srcchange.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-20 15:18:31 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-20 15:18:31 -0700
commitd3da4fd3d250662234001baecff23ba69b9e91ad (patch)
tree3778e897f778ac5d483cdef52e627c934a4f8f84 /test/srcchange.py
parent8ba4d168b797f2b19f15771807e6f578fdaf4e40 (diff)
downloadscons-d3da4fd3d250662234001baecff23ba69b9e91ad.tar.gz
added mode='r' for must_matches, and for one case added mode='w' for source file failing to compile with compiler complaining about mac formatted file
Diffstat (limited to 'test/srcchange.py')
-rw-r--r--test/srcchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/srcchange.py b/test/srcchange.py
index bef3589b..f9e15237 100644
--- a/test/srcchange.py
+++ b/test/srcchange.py
@@ -103,7 +103,7 @@ test.must_exist(program_name)
test.run(arguments='.', stdout=light_build)
test.must_exist(program_name)
-test.write('revnum.in', '3.3\n')
+test.write('revnum.in', '3.3\n', mode='w')
test.run(arguments='.')
test.must_exist(program_name)