ash testsuite: remove two more inadvertent bashisms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
cc0056db5c
commit
1b8e0e8adf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user