ash testsuite: remove two more inadvertent bashisms

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-10-01 17:43:04 +02:00
parent cc0056db5c
commit 1b8e0e8adf
2 changed files with 7 additions and 7 deletions

View File

@ -4,9 +4,9 @@
# was out of sync for redirect filenames.
>unicode.sh
echo -e 'echo Ok >uni\x81code' >>unicode.sh
echo -e 'cat uni\x81code' >>unicode.sh
echo -e 'cat uni?code' >>unicode.sh
printf 'echo Ok >uni\x81code\n' >>unicode.sh
printf 'cat uni\x81code\n' >>unicode.sh
printf 'cat uni?code\n' >>unicode.sh
. ./unicode.sh
rm uni*code*
echo Done

View File

@ -6,10 +6,10 @@
# Subcase when redirect filename is specified in a variable.
>unicode.sh
echo -e 'v=uni\x81code' >>unicode.sh
echo -e 'echo Ok >"$v"' >>unicode.sh
echo -e 'cat uni\x81code' >>unicode.sh
echo -e 'cat uni?code' >>unicode.sh
printf 'v=uni\x81code\n' >>unicode.sh
printf 'echo Ok >"$v"\n' >>unicode.sh
printf 'cat uni\x81code\n' >>unicode.sh
printf 'cat uni?code\n' >>unicode.sh
. ./unicode.sh
rm uni*code*
echo Done