added hours and minutes version of run time.
[feisty_meow.git] / scripts / shunit / example_shunit_test.sh
index cc6c1bb3d2cdf6bfd7dbf645738398c7fc165653..e33b9c3881f954f41cf42d6bf86abf165d9cac13 100755 (executable)
@@ -19,11 +19,14 @@ oneTimeSetUp()
 
 testOneThing()
 {
-  echo "got to test case.  sleeping for a bit..."
+  echo "got to primary test case."
   zero=0
   assertEquals "zero should be equal to 0" 0 $zero
-  sleep 23
-  echo "woke up.  passed tautological test."
+  echo "passed tautological test."
+  sleep_time=83
+  echo "$(date): now sleeping for $sleep_time seconds."
+  sleep $sleep_time
+  echo "$(date): woke up."
 }
 
 oneTimeTearDown()