aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/directive/run.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/directive/run.test b/tests/directive/run.test
index a6573f2..b9bfb48 100644
--- a/tests/directive/run.test
+++ b/tests/directive/run.test
@@ -11,26 +11,26 @@ crosstest = false
: no-output
:
cat <'assert true' >=buildfile;
-$* <"run $0 noop"
+$* <"run '$0' noop"
: output
:
cat <'print foo=bar' >=buildfile;
$* <<"EOI" >'bar'
-run $0 noop
+run '$0' noop
print \$foo
EOI
: bad-exit
:
cat <'assert false' >=buildfile;
-$* <"run $0 noop" 2>>EOE != 0
+$* <"run '$0' noop" 2>>EOE != 0
buildfile:1:1: error: assertion failed
EOE
: bad-output
:
cat <'print run' >=buildfile;
-$* <"run $0 noop" 2>>~%EOE% != 0
+$* <"run '$0' noop" 2>>~%EOE% != 0
%-:1:5: \(.+ stdout\):1:4: error: executable name expected after run%
EOE