Tests 383 B

123456789101112131415
  1. #!/bin/rc
  2. # change the boot sequence to run tests.
  3. # remove stale state from tests:
  4. rm -f [0-9]*/^(koutput output FAIL) k[0-9]*/^(koutput output FAIL)
  5. # arrange for them to run after rebooting
  6. if(test -e /cfg/$sysname/_runtests)
  7. mv /cfg/$sysname/_runtests /cfg/$sysname/runtests
  8. if(! test -x /cfg/$sysname/runtests){
  9. echo there is no /cfg/$sysname/runtests
  10. exit no
  11. }
  12. reboot