02-rtcheckpoint_minutes2.mdl 986 B

123456789101112131415161718192021
  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 minutes and seconds,
  11. * where the minutes are positive, and the seconds are negative. This
  12. * should help if the computation of the alarm time is compromised somehow.
  13. *
  14. * Author: Jed Wing <[email protected]>
  15. * Date: 2008-04-04
  16. ****************************************************************************/
  17. basename = "02-rtcheckpoint_minutes2"
  18. INCLUDE_FILE = "common2.mdl"
  19. CHECKPOINT_REALTIME = 1:-30 EXIT