diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-18 18:03:11 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-18 18:03:11 +0000 |
commit | 774e0bf3a78cff139d51c936aa7d30713fa54c92 (patch) | |
tree | fe77aea9aa6300e3d79312b3a6cc0db3d48ed9db /Test/ztst.zsh | |
parent | de880a6bbb4ea064dbe5fb0405081c170a12ff5c (diff) | |
download | zsh-774e0bf3a78cff139d51c936aa7d30713fa54c92.tar.gz zsh-774e0bf3a78cff139d51c936aa7d30713fa54c92.tar.xz zsh-774e0bf3a78cff139d51c936aa7d30713fa54c92.zip |
More options tests and a ztst.zsh fix for ksharrays
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-x | Test/ztst.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh index ea9d18a08..4fa7a15a2 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -208,9 +208,10 @@ ZTST_execchunk() { options=($ZTST_testopts) eval "$ZTST_code" ZTST_status=$? + # careful... ksh_arrays may be in effect. + ZTST_testopts=(${(kv)options[*]}) + options=(${ZTST_mainopts[*]}) ZTST_verbose 2 "ZTST_execchunk: status $ZTST_status" - ZTST_testopts=(${(kv)options}) - options=($ZTST_mainopts) return $ZTST_status } |