← Commit list

6214941a3

Denis Vlasenko
Denis Vlasenko
2008-10-27
FAILED Duration: 28s

Subject

ash: add testcase for bug 5304

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-signals/reap1.right+1 -0
@@ -0,0 +1 @@
+Ok
shell/ash_test/ash-signals/reap1.tests+14 -0
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Must not find us alive
+{ sleep 2; kill -9 $$; } 2>/dev/null &
+
+sleep 1 &
+PID=$!
+
+# We must exit the loop in one second.
+# We had bug 5304: builtins never waited for exited children
+while kill -0 $PID >/dev/null 2>&1; do
+ true
+done
+echo Ok