about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-21 10:37:36 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-21 10:37:36 +0000
commit74eaa20404143884705227cb82141f9eb1243c60 (patch)
tree7351f15aad5696590319ed9d53e2fca0d68eb8c6 /Test
parent2528c3b513f9af47ff91865db6f7e58f2fc18e21 (diff)
downloadzsh-74eaa20404143884705227cb82141f9eb1243c60.tar.gz
zsh-74eaa20404143884705227cb82141f9eb1243c60.tar.xz
zsh-74eaa20404143884705227cb82141f9eb1243c60.zip
26858: use zsh instead of sh in exec -l test
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index a1ec2cc00..9d9f49860 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -62,9 +62,9 @@
   (exec /bin/sh; echo bar)
 0:`exec' precommand modifier
 
-  (exec -l /bin/sh -c 'echo $0')
+  (exec -l $ZTST_testdir/../Src/zsh -fc 'echo $0' | sed 's%/.*/%%' )
 0:`exec' with -l option
->-/bin/sh
+>-zsh
 
   (exec -a /bin/SPLATTER /bin/sh -c 'echo $0')
 0:`exec' with -a option