hush/shell/hush_test/hush-vars/star.tests
Denis Vlasenko 1a7358612f hush: fix a bit different instance of "No EOL" bug,
add testsuite for that. Expand another testsuite.
2007-05-23 00:32:25 +00:00

9 lines
217 B
Plaintext
Executable File

if test $# = 0; then
exec "$THIS_SH" star.tests 1 abc 'd e f'
fi
# 'd e f' should be split into 3 separate args:
for a in $*; do echo ".$a."; done
# must produce .1 abc d e f.
for a in "$*"; do echo ".$a."; done