#!/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" "" ""
