02-rtcheckpoint_days2.mdl 1018 B

12345678910111213141516171819202122
  1. /****************************************************************************
  2. * Test 02: Real-time checkpoint options.
  3. *
  4. * A series of tests which checkpoint and exit after 30 seconds. At the
  5. * beginning of the test, a timestamp file is created. Checking the
  6. * timestamp on this file (also stored as an integer in the file, as seconds
  7. * since the epoch) against the timestamp on the checkpoint file should give
  8. * a reasonable, though not utterly infallible test.
  9. *
  10. * This variant has an exit spec and time specified in days, hours, minutes,
  11. * and seconds, where only the days are positive, and all other values are
  12. * negative. This should help if the computation of the alarm time is
  13. * compromised somehow.
  14. *
  15. * Author: Jed Wing <[email protected]>
  16. * Date: 2008-04-04
  17. ****************************************************************************/
  18. basename = "02-rtcheckpoint_days2"
  19. INCLUDE_FILE = "common2.mdl"
  20. CHECKPOINT_REALTIME = 1:-23:-59:-30 EXIT