diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D04parameter.ztst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 7eb721226..8bc37ff4c 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1475,3 +1475,13 @@ print ${#foo} 0:Nularg removed from split empty string >0 + + (set -- a b c + setopt shwordsplit + IFS= + print -rl "$*" + unset IFS + print -rl "$*") +0:Regression test for shwordsplit with null or unset IFS and quoted array +>abc +>a b c |