summaryrefslogtreecommitdiffstats
path: root/test/build-errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/build-errors.py')
-rw-r--r--test/build-errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/build-errors.py b/test/build-errors.py
index 8545642..edd06b1 100644
--- a/test/build-errors.py
+++ b/test/build-errors.py
@@ -90,7 +90,7 @@ test.description_set("Incorrect STDERR:\n%s\n" % test.stderr())
if os.name == 'nt':
errs = [
bad_command,
- unrecognized % (no_such_file, 'f2'),
+ unrecognized % (not_executable, 'f2'),
unspecified % 'f2'
]
test.fail_test(not test.stderr() in errs)
@@ -113,7 +113,7 @@ test.description_set("Incorrect STDERR:\n%s\n" % test.stderr())
if os.name == 'nt':
errs = [
bad_command,
- unrecognized % (no_such_file, 'f3'),
+ unrecognized % (test.workdir, 'f3'),
unspecified % 'f3'
]
test.fail_test(not test.stderr() in errs)