kill.test 227 B

123456789
  1. #!/bin/bash
  2. [ -f testing.sh ] && . testing.sh
  3. #testing "name" "command" "result" "infile" "stdin"
  4. testcmd "-l HUP" "-l HUP" "1\n" "" ""
  5. testcmd "-l 1" "-l 1" "HUP\n" "" ""
  6. testcmd "-0 self" "-0 $$ && echo yes" "yes\n" "" ""