summaryrefslogtreecommitdiffstats
path: root/test/Delete.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Delete.py')
-rw-r--r--test/Delete.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Delete.py b/test/Delete.py
index c57a810..138dc95 100644
--- a/test/Delete.py
+++ b/test/Delete.py
@@ -161,6 +161,8 @@ test.write('f14.in', "f14.in\n")
test.run(status=2, stderr=None)
-test.fail_test(string.find(test.stderr(), "No such file or directory") == -1)
+stderr = test.stderr()
+test.fail_test(string.find(stderr, "No such file or directory") == -1 and
+ string.find(stderr, "The system cannot find the path specified") == -1)
test.pass_test()