Index: /trunk/Ohana/src/opihi/pantasks/test/sleep.sh
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/test/sleep.sh	(revision 11318)
+++ /trunk/Ohana/src/opihi/pantasks/test/sleep.sh	(revision 11318)
@@ -0,0 +1,30 @@
+
+# a basic task which just runs 'sleep'
+task	       basic
+  command      sleep 10
+  host         local
+
+  periods      -poll 0.1
+  periods      -exec 1.0
+  periods      -timeout 20
+  npending 2
+  
+  stdout tmp.txt
+  stderr tmp.txt
+
+  # success
+  task.exit    0
+    $Npass ++
+    echo done sleep
+  end
+
+  # default exit status
+  task.exit    default
+    echo       "basic: exit status: $EXIT"
+  end
+
+  # operation times out?
+  task.exit    timeout
+    echo       "basic: timeout"
+  end
+end
