diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-01 17:30:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-01 17:30:21 +0200 |
commit | cc0056db5c82b7965c019599f59f8f1d9e8d52fd (patch) | |
tree | 9d1b2859ff8bb2761f3f674f89657f935ae60150 | |
parent | 4d12e944eaf54f0fd0bbb6b70abbb77648cca795 (diff) | |
download | busybox-w32-cc0056db5c82b7965c019599f59f8f1d9e8d52fd.tar.gz busybox-w32-cc0056db5c82b7965c019599f59f8f1d9e8d52fd.tar.bz2 busybox-w32-cc0056db5c82b7965c019599f59f8f1d9e8d52fd.zip |
ash testsuite: remove two inadvertent bashisms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | shell/ash_test/ash-read/read_r.tests | 6 | ||||
-rwxr-xr-x | shell/ash_test/ash-signals/signal1.tests | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/shell/ash_test/ash-read/read_r.tests b/shell/ash_test/ash-read/read_r.tests index 2c4cc6106..1f0a18afc 100755 --- a/shell/ash_test/ash-read/read_r.tests +++ b/shell/ash_test/ash-read/read_r.tests | |||
@@ -1,2 +1,4 @@ | |||
1 | echo -e 'test\\\nbest' | (read reply; echo "$reply") | 1 | echo 'test\ |
2 | echo -e 'test\\\nbest' | (read -r reply; echo "$reply") | 2 | best' | (read reply; echo "$reply") |
3 | echo 'test\ | ||
4 | best' | (read -r reply; echo "$reply") | ||
diff --git a/shell/ash_test/ash-signals/signal1.tests b/shell/ash_test/ash-signals/signal1.tests index 28bfc6a46..61943467a 100755 --- a/shell/ash_test/ash-signals/signal1.tests +++ b/shell/ash_test/ash-signals/signal1.tests | |||
@@ -19,7 +19,7 @@ while $sleeping; do | |||
19 | if wait %%; then | 19 | if wait %%; then |
20 | echo "sleep completed" | 20 | echo "sleep completed" |
21 | sleeping=false | 21 | sleeping=false |
22 | elif [ $? == 127 ]; then | 22 | elif [ $? = 127 ]; then |
23 | echo "BUG: no processes to wait for?!" | 23 | echo "BUG: no processes to wait for?!" |
24 | sleeping=false | 24 | sleeping=false |
25 | else | 25 | else |