source: MondoRescue/branches/2.2.9/mindi-busybox/shell/ash_test/ash-signals/reap1.tests@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 255 bytes
Line 
1#!/bin/sh
2
3# Must not find us alive
4{ sleep 2; kill -9 $$; } 2>/dev/null &
5
6sleep 1 &
7PID=$!
8
9# We must exit the loop in one second.
10# We had bug 5304: builtins never waited for exited children
11while kill -0 $PID >/dev/null 2>&1; do
12 true
13done
14echo Ok
Note: See TracBrowser for help on using the repository browser.