diff options
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/A01grammar.ztst | 6 | ||||
| -rw-r--r-- | Test/D03procsubst.ztst | 9 | ||||
| -rw-r--r-- | Test/V09datetime.ztst | 4 |
3 files changed, 8 insertions, 11 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index a65dc57f1..eea6ede2b 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -128,11 +128,11 @@ 0:`exec' with -l option >-zsh - (exec -a /bin/SPLATTER /bin/sh -c 'echo $0') + (exec -a /bin/SPLATTER $ZTST_testdir/../Src/zsh -fc 'echo $0') 0:`exec' with -a option >/bin/SPLATTER - (exec -a/bin/SPLOOSH /bin/sh -c 'echo $0') + (exec -a/bin/SPLOOSH $ZTST_testdir/../Src/zsh -fc 'echo $0') 0:`exec' with -a option, no space >/bin/SPLOOSH @@ -144,7 +144,7 @@ ( opts=(-a /bin/WHOOOSH) - exec $opts /bin/sh -c 'echo $0' + exec $opts $ZTST_testdir/../Src/zsh -fc 'echo $0' ) 0:`exec' with -a option from expansion >/bin/WHOOOSH diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst index d68db35fa..d7f57afdc 100644 --- a/Test/D03procsubst.ztst +++ b/Test/D03procsubst.ztst @@ -25,12 +25,9 @@ 0:>(...) substitution >SEcond ViErtE - diff =(cat FILE1) =(cat FILE2) -1:=(...) substitution ->1c1 ->< First Second Third Fourth ->--- ->> Erste Zweite Dritte Vierte + paste =(cut -f1 FILE1) =(cut -f3 FILE2) +0:=(...) substitution +>First Dritte copycat <(print First) <(print Zweite) 0:FDs remain open for external commands called from functions diff --git a/Test/V09datetime.ztst b/Test/V09datetime.ztst index 0eae31687..cbf6967b0 100644 --- a/Test/V09datetime.ztst +++ b/Test/V09datetime.ztst @@ -79,8 +79,8 @@ >1973^@03^@03 # We assume '%@' is not a valid format on any OSs. -# The result can be '%@' (Linux), '@' (BSDs) or an error (Cygwin). - [[ $(strftime '%@' 0 2> /dev/null) == (%|)@ || $? != 0 ]] +# The result can be '%@' (Linux), '@' (BSDs), '' (musl), or an error (Cygwin). + [[ $(strftime '%@' 0 2> /dev/null) == ((%|)@|) || $? != 0 ]] 0:bad format specifier # This test may fail at 23:59:59.xxx on New Year's Eve :/ |
