← Commit list

cc0056db5

Denys Vlasenko
Denys Vlasenko
2016-10-01
SUCCESS Duration: 260s

Subject

ash testsuite: remove two inadvertent bashisms

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash_test/ash-read/read_r.tests+4 -2
@@ -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")
shell/ash_test/ash-signals/signal1.tests+1 -1
@@ -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