aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/status.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/runner/status.test')
-rw-r--r--tests/test/script/runner/status.test12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/test/script/runner/status.test b/tests/test/script/runner/status.test
index e115f13..6a2c06c 100644
--- a/tests/test/script/runner/status.test
+++ b/tests/test/script/runner/status.test
@@ -6,10 +6,6 @@
b += --no-column
-if ($cxx.target.class == "windows")
- ext = .exe
-end
-
# Successfull tests.
#
: eq-true
@@ -27,13 +23,13 @@ $b
: eq-false
:
$c <'$* -s 1 == 0';
-$b 2>>"EOE" != 0
-testscript:1: error: $path.canonicalize(../../../driver$ext) exit status 1 != 0
+$b 2>>~%EOE% != 0
+%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(.exe)? exit status 1 != 0%
EOE
: ne-false
:
$c <'$* -s 1 != 1';
-$b 2>>"EOE" != 0
-testscript:1: error: $path.canonicalize(../../../driver$ext) exit status 1 == 1
+$b 2>>~%EOE% != 0
+%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(.exe)? exit status 1 == 1%
EOE