← Commit list

27ff681cf

Denys Vlasenko
Denys Vlasenko
2010-05-17
FAILED Duration: 29s

Subject

ash: add two testcases for (not yet fixed) ash bugs

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-misc/source2.right+1 -0
@@ -0,0 +1 @@
+Done: 0
shell/ash_test/ash-misc/source2.tests+4 -0
@@ -0,0 +1,4 @@
+# Not fixed yet
+false
+. /dev/null
+echo Done: $?
shell/ash_test/ash-signals/signal5.right+12 -0
@@ -0,0 +1,12 @@
+Waiting
+sleeping for 1 sec
+sleeping for 2 sec
+1 sec passed, sending USR1 to parent
+USR1 received
+Wait exit code: 138
+Waiting
+2 sec passed, sending USR1 to parent
+USR1 received
+Wait exit code: 138
+Waiting
+Wait returned 0
shell/ash_test/ash-signals/signal5.tests+14 -0
@@ -0,0 +1,14 @@
+# Not fixed yet
+trap "echo USR1 received" USR1
+stub() {
+ echo "sleeping for $1 sec"
+ sleep $1
+ echo "$1 sec passed, sending USR1 to parent"
+ kill -USR1 $$
+}
+stub 2 &
+stub 1 &
+until { echo "Waiting"; wait; } do
+ echo "Wait exit code: $?"
+done
+echo "Wait returned 0"