diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-01 17:43:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-01 17:43:04 +0200 |
commit | 1b8e0e8adfc28c0b2472121c22f61e1d032805c8 (patch) | |
tree | 2965d26b2c166a140c768f0cc106895566ed7024 /shell | |
parent | cc0056db5c82b7965c019599f59f8f1d9e8d52fd (diff) | |
download | busybox-w32-1b8e0e8adfc28c0b2472121c22f61e1d032805c8.tar.gz busybox-w32-1b8e0e8adfc28c0b2472121c22f61e1d032805c8.tar.bz2 busybox-w32-1b8e0e8adfc28c0b2472121c22f61e1d032805c8.zip |
ash testsuite: remove two more inadvertent bashisms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/ash_test/ash-redir/redir7.tests | 6 | ||||
-rwxr-xr-x | shell/ash_test/ash-redir/redir8.tests | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/shell/ash_test/ash-redir/redir7.tests b/shell/ash_test/ash-redir/redir7.tests index ca3979a81..e873a4622 100755 --- a/shell/ash_test/ash-redir/redir7.tests +++ b/shell/ash_test/ash-redir/redir7.tests | |||
@@ -4,9 +4,9 @@ | |||
4 | # was out of sync for redirect filenames. | 4 | # was out of sync for redirect filenames. |
5 | 5 | ||
6 | >unicode.sh | 6 | >unicode.sh |
7 | echo -e 'echo Ok >uni\x81code' >>unicode.sh | 7 | printf 'echo Ok >uni\x81code\n' >>unicode.sh |
8 | echo -e 'cat uni\x81code' >>unicode.sh | 8 | printf 'cat uni\x81code\n' >>unicode.sh |
9 | echo -e 'cat uni?code' >>unicode.sh | 9 | printf 'cat uni?code\n' >>unicode.sh |
10 | . ./unicode.sh | 10 | . ./unicode.sh |
11 | rm uni*code* | 11 | rm uni*code* |
12 | echo Done | 12 | echo Done |
diff --git a/shell/ash_test/ash-redir/redir8.tests b/shell/ash_test/ash-redir/redir8.tests index 8cb42c0d3..2bd386749 100755 --- a/shell/ash_test/ash-redir/redir8.tests +++ b/shell/ash_test/ash-redir/redir8.tests | |||
@@ -6,10 +6,10 @@ | |||
6 | # Subcase when redirect filename is specified in a variable. | 6 | # Subcase when redirect filename is specified in a variable. |
7 | 7 | ||
8 | >unicode.sh | 8 | >unicode.sh |
9 | echo -e 'v=uni\x81code' >>unicode.sh | 9 | printf 'v=uni\x81code\n' >>unicode.sh |
10 | echo -e 'echo Ok >"$v"' >>unicode.sh | 10 | printf 'echo Ok >"$v"\n' >>unicode.sh |
11 | echo -e 'cat uni\x81code' >>unicode.sh | 11 | printf 'cat uni\x81code\n' >>unicode.sh |
12 | echo -e 'cat uni?code' >>unicode.sh | 12 | printf 'cat uni?code\n' >>unicode.sh |
13 | . ./unicode.sh | 13 | . ./unicode.sh |
14 | rm uni*code* | 14 | rm uni*code* |
15 | echo Done | 15 | echo Done |