You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
461 B

  1. #!/bin/sh
  2. #
  3. # Simple test script to automatically install/skip/mark/show tasks.
  4. #
  5. # To enable this test insert your tasks stanza a keyword like:
  6. #
  7. # Test-force: mark
  8. #
  9. case "$2" in
  10. install)
  11. exit 0 # do not display, but do install task
  12. ;;
  13. skip)
  14. exit 1 # do not display task
  15. ;;
  16. mark)
  17. exit 2 # display task, marked for installation
  18. ;;
  19. show)
  20. exit 3 # display task, not marked for installation
  21. ;;
  22. *)
  23. exit 1 # unknown value, skip the task
  24. ;;
  25. esac