diff options
author | jilles <jilles@FreeBSD.org> | 2016-04-09 16:06:13 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2016-04-09 16:06:13 +0000 |
commit | 8c8069ff15ec4563a7ca9d91a07748e0fd5a5a67 (patch) | |
tree | bbd1633d34def4e58032ded7110db992a7b7060b /bin/sh/tests/builtins/getopts2.0 | |
parent | 872f9979ca66f9de4958fee179e93aadf7de7dd8 (diff) | |
download | FreeBSD-src-8c8069ff15ec4563a7ca9d91a07748e0fd5a5a67.zip FreeBSD-src-8c8069ff15ec4563a7ca9d91a07748e0fd5a5a67.tar.gz |
sh: Fix some unquoted variables in tests.
The builtins/getopts1.0 test failed if a single-character file existed in
the current directory.
Diffstat (limited to 'bin/sh/tests/builtins/getopts2.0')
-rw-r--r-- | bin/sh/tests/builtins/getopts2.0 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/tests/builtins/getopts2.0 b/bin/sh/tests/builtins/getopts2.0 index 5a5dbe2..1bd2c32 100644 --- a/bin/sh/tests/builtins/getopts2.0 +++ b/bin/sh/tests/builtins/getopts2.0 @@ -3,4 +3,4 @@ set - -ax getopts ax option set -C getopts ax option -echo $option +printf '%s\n' "$option" |