9 lines
175 B
Plaintext
9 lines
175 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
[ -f testing.sh ] && . testing.sh
|
||
|
|
|
||
|
|
#testing "name" "command" "result" "infile" "stdin"
|
||
|
|
|
||
|
|
testcmd "-l HUP" "-l HUP" "1\n" "" ""
|
||
|
|
testcmd "-l 1" "-l 1" "HUP\n" "" ""
|