1 2 3 4 5 6 7 8
#!/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" "" ""