mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
11 lines
258 B
Bash
11 lines
258 B
Bash
#!/bin/bash
|
|
|
|
[ -f testing.sh ] && . testing.sh
|
|
|
|
#testing "name" "command" "result" "infile" "stdin"
|
|
|
|
testcmd "" "-l HUP" "1\n" "" ""
|
|
testcmd "" "-l 1" "HUP\n" "" ""
|
|
testcmd "" "-l 3 KILL" "QUIT\n9\n" "" ""
|
|
testcmd "-0 self" "-0 $$ && echo yes" "yes\n" "" ""
|