Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
10 lines
227 B
Bash
10 lines
227 B
Bash
#!/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" "" ""
|
|
testcmd "-0 self" "-0 $$ && echo yes" "yes\n" "" ""
|