summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CHANGES.txt2
-rw-r--r--test/M4.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 33e481d..4810df6 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -20,6 +20,8 @@ RELEASE 0.XX - XXX
- Add a DefaultEnvironment() function that only creates a default
environment on-demand (for fetching source files, e.g.).
+ - Portability fix for test/M4.py.
+
From Steven Knight:
- Tighten up the scons -H help output.
diff --git a/test/M4.py b/test/M4.py
index 0e7e809..cc35540 100644
--- a/test/M4.py
+++ b/test/M4.py
@@ -99,8 +99,8 @@ bar.M4(target = 'bar', source = 'bar.m4')
test.fail_test(test.read('wrapper.out') != "wrapper.py\n")
- test.fail_test(test.read('foo.x') != "line 1\nfff\nline 3\n")
+ test.fail_test(test.read('foo.x', 'r') != "line 1\nfff\nline 3\n")
- test.fail_test(test.read('bar') != "line 1\nbbb\nline 3\n")
+ test.fail_test(test.read('bar', 'r') != "line 1\nbbb\nline 3\n")
test.pass_test()