1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

26858: use zsh instead of sh in exec -l test

This commit is contained in:
Peter Stephenson 2009-04-21 10:37:36 +00:00
parent 2528c3b513
commit 74eaa20404
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2009-04-21 Peter Stephenson <pws@csr.com>
* 26858: Test/A01grammar.ztst: use zsh -fc instead of /bin/sh -c
for testing exec -l to avoid sensitivity to /etc/profile.
* 26853 + typo fix: NEWS, README, Etc/CONTRIBUTORS, Etc/FAQ.yo,
Etc/relnote_4.3.10.txt: package documentation updates.
@ -11588,5 +11591,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4659 $
* $Revision: 1.4660 $
*****************************************************

View file

@ -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