From bff415fd8a787a63bcda2d9f95c8e086e40c1368 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2018 18:22:57 +0200 Subject: Fix bug in directive/run test --- tests/directive/run.test | 8 ++++---- 1 file 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 -- cgit v1.1