aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-26 18:22:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-26 18:22:57 +0200
commitbff415fd8a787a63bcda2d9f95c8e086e40c1368 (patch)
tree96df09ecf218789d3a6b95c72794bd46a1f4f5da /tests
parent3880c3dd8670cc4a7ea5d4bd354c4f26f0278785 (diff)
Fix bug in directive/run test
Diffstat (limited to 'tests')
-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