ash testsuite: remove two inadvertent bashisms

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-10-01 17:30:21 +02:00
parent 4d12e944ea
commit cc0056db5c
2 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,4 @@
echo -e 'test\\\nbest' | (read reply; echo "$reply")
echo -e 'test\\\nbest' | (read -r reply; echo "$reply")
echo 'test\
best' | (read reply; echo "$reply")
echo 'test\
best' | (read -r reply; echo "$reply")

View File

@ -19,7 +19,7 @@ while $sleeping; do
if wait %%; then
echo "sleep completed"
sleeping=false
elif [ $? == 127 ]; then
elif [ $? = 127 ]; then
echo "BUG: no processes to wait for?!"
sleeping=false
else