about summary refs log tree commit diff
path: root/Test/01grammar.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/01grammar.ztst')
-rw-r--r--Test/01grammar.ztst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/01grammar.ztst b/Test/01grammar.ztst
index 361512e98..954db39e1 100644
--- a/Test/01grammar.ztst
+++ b/Test/01grammar.ztst
@@ -50,9 +50,8 @@
 #
 # Tests for `Precommand Modifiers'
 #
-  - sh -c 'echo $0'
+  - $ZTST_testdir/../Src/zsh -fc "[[ \$0 = \"-$ZTST_testdir/../Src/zsh\" ]]"
 0:`-' precommand modifier
->-sh
 
   echo f*
   noglob echo f*