Tests - add eventscripts testing stub for sleep command.
authorMartin Schwenke <martin@meltin.net>
Fri, 19 Aug 2011 03:53:05 +0000 (13:53 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 30 Aug 2011 06:51:55 +0000 (16:51 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/stubs/sleep [new file with mode: 0755]

diff --git a/tests/eventscripts/stubs/sleep b/tests/eventscripts/stubs/sleep
new file mode 100755 (executable)
index 0000000..adb63cd
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "$REALLY_SLEEP" = "yes" ] ; then
+    /bin/sleep "$@"
+else
+    :
+fi