From f859b25563abd47e7fe7680b9a72a2245fae025c Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Tue, 22 Jul 2003 12:47:32 +0000 Subject: M4 test portability. (Chad Austin) --- src/CHANGES.txt | 2 ++ test/M4.py | 4 ++-- 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() -- cgit v0.12