summaryrefslogtreecommitdiffstats
path: root/test/Win32/bad-drive.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Win32/bad-drive.py')
-rw-r--r--test/Win32/bad-drive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Win32/bad-drive.py b/test/Win32/bad-drive.py
index 5e8e66a..80a36c8 100644
--- a/test/Win32/bad-drive.py
+++ b/test/Win32/bad-drive.py
@@ -84,7 +84,7 @@ test.write("no_source", "no_source\n")
test.run(arguments = 'aaa.out')
-test.fail_test(test.read('aaa.out') != "aaa.in\n")
+test.must_match('aaa.out', "aaa.in\n", mode='r')
# This next test used to provide a slightly different error message:
# "scons: *** Do not know how to make File target `%snot_mentioned'. Stop.\n"