Index: /trunk/Ohana/src/opihi/pantasks/test/joberror.sh
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/test/joberror.sh	(revision 15204)
+++ /trunk/Ohana/src/opihi/pantasks/test/joberror.sh	(revision 15204)
@@ -0,0 +1,29 @@
+
+# a basic task which just runs 'echo'
+task	       basic
+  host         local
+
+  periods      -poll 0.005
+  periods      -exec 0.005
+  periods      -timeout 2
+  command      ls -l /usr/bin /tmp/foobar
+  
+  stdout tmp.txt
+  stderr tmp.txt
+
+  # success
+  task.exit    0
+    $Npass ++
+  end
+
+  # default exit status
+  task.exit    default
+    echo       "basic: exit status: $JOB_STATUS"
+  end
+
+  # operation times out?
+  task.exit    timeout
+    echo       "basic: timeout"
+  end
+end
+
