=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== timelimit-1.9.0/t/01-simple.t-45-diag_ 'kill a shell script during the sleep, only execute a single echo' timelimit-1.9.0/t/01-simple.t:46:v=`$TIMELIMIT -t 1 sh -c 'echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-47-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-52-diag_ 'give the shell script time enough to execute both echos' timelimit-1.9.0/t/01-simple.t:53:v=`$TIMELIMIT -t 4 sh -c 'echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-54-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-59-diag_ 'catch the warning signal, run two out of three echos' timelimit-1.9.0/t/01-simple.t:60:v=`$TIMELIMIT -t 1 -T 4 sh -c 'trap "" TERM; echo 1; sleep 3; echo 2; sleep 3; echo 3' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-61-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-67-diag_ 'catch the warning signal and still run to completion' timelimit-1.9.0/t/01-simple.t:68:v=`$TIMELIMIT -t 1 -T 12 sh -c 'trap "" TERM; echo 1; sleep 3; echo 2; sleep 3; echo 3' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-69-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-75-diag_ 'now interrupt with a different signal' timelimit-1.9.0/t/01-simple.t:76:v=`$TIMELIMIT -t 1 -s 1 sh -c 'echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-77-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-82-diag_ 'now catch that different signal' timelimit-1.9.0/t/01-simple.t:83:v=`$TIMELIMIT -t 1 -s 1 sh -c 'trap "" HUP; echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-84-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-89-diag_ 'now kill with a yet different signal' timelimit-1.9.0/t/01-simple.t:90:v=`$TIMELIMIT -t 1 -s 1 -T 1 -S 15 sh -c 'trap "" HUP; echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/01-simple.t-91-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-101-diag_ 'use invalid numbers for the various options' timelimit-1.9.0/t/01-simple.t:102:v=`$TIMELIMIT -t x true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-103-res="$?" timelimit-1.9.0/t/01-simple.t-104-if [ "$res" = 64 ]; then ok_; else not_ok_ "-t x exit code $res"; fi timelimit-1.9.0/t/01-simple.t:105:v=`$TIMELIMIT -T x true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-106-res="$?" timelimit-1.9.0/t/01-simple.t-107-if [ "$res" = 64 ]; then ok_; else not_ok_ "-T x exit code $res"; fi timelimit-1.9.0/t/01-simple.t:108:v=`$TIMELIMIT -s x true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-109-res="$?" timelimit-1.9.0/t/01-simple.t-110-if [ "$res" = 64 ]; then ok_; else not_ok_ "-s x exit code $res"; fi timelimit-1.9.0/t/01-simple.t:111:v=`$TIMELIMIT -S x true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-112-res="$?" timelimit-1.9.0/t/01-simple.t-113-if [ "$res" = 64 ]; then ok_; else not_ok_ "-S x exit code $res"; fi timelimit-1.9.0/t/01-simple.t:114:v=`$TIMELIMIT -s 1.5 true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-115-res="$?" timelimit-1.9.0/t/01-simple.t-116-if [ "$res" = 64 ]; then ok_; else not_ok_ "-s 1.5 exit code $res"; fi timelimit-1.9.0/t/01-simple.t:117:v=`$TIMELIMIT -S 1.5 true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-118-res="$?" timelimit-1.9.0/t/01-simple.t-119-if [ "$res" = 64 ]; then ok_; else not_ok_ "-S 1.5 exit code $res"; fi timelimit-1.9.0/t/01-simple.t:120:v=`$TIMELIMIT -t '' true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-121-res="$?" timelimit-1.9.0/t/01-simple.t-122-if [ "$res" = 64 ]; then ok_; else not_ok_ "-t '' exit code $res"; fi timelimit-1.9.0/t/01-simple.t:123:v=`$TIMELIMIT -T '' true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-124-res="$?" timelimit-1.9.0/t/01-simple.t-125-if [ "$res" = 64 ]; then ok_; else not_ok_ "-T '' exit code $res"; fi timelimit-1.9.0/t/01-simple.t:126:v=`$TIMELIMIT -s '' true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-127-res="$?" timelimit-1.9.0/t/01-simple.t-128-if [ "$res" = 64 ]; then ok_; else not_ok_ "-s '' exit code $res"; fi timelimit-1.9.0/t/01-simple.t:129:v=`$TIMELIMIT -S '' true 2>/dev/null` timelimit-1.9.0/t/01-simple.t-130-res="$?" ############################################## timelimit-1.9.0/t/01-simple.t-133-diag_ 'timelimit --features should contain a "timelimit" entry' timelimit-1.9.0/t/01-simple.t:134:v=`$TIMELIMIT --features` timelimit-1.9.0/t/01-simple.t-135-res="$?" ############################################## timelimit-1.9.0/t/02-subsecond.t-44-diag_ 'kill a shell script during the sleep, only execute a single echo' timelimit-1.9.0/t/02-subsecond.t:45:v=`$TIMELIMIT -t 0.7 sh -c 'echo 1; sleep 1; echo 2' 2>/dev/null` timelimit-1.9.0/t/02-subsecond.t-46-res="$?" ############################################## timelimit-1.9.0/t/02-subsecond.t-51-diag_ 'catch a signal, kill with a different one' timelimit-1.9.0/t/02-subsecond.t:52:v=`$TIMELIMIT -t 0.7 -s 1 -T 0.8 -S 15 sh -c 'trap "" HUP; echo 1; sleep 1; echo 2; sleep 1; echo 3' 2>/dev/null` timelimit-1.9.0/t/02-subsecond.t-53-res="$?" ############################################## timelimit-1.9.0/t/03-output.t-40-diag_ 'kill a shell script during the sleep, only execute a single echo' timelimit-1.9.0/t/03-output.t:41:v=`$TIMELIMIT -t 1 sh -c 'echo 1; sleep 3; echo 2' 2>&1 > /dev/null` timelimit-1.9.0/t/03-output.t-42-res="$?" ############################################## timelimit-1.9.0/t/03-output.t-47-diag_ 'catch the warning signal, run two out of three echos' timelimit-1.9.0/t/03-output.t:48:v=`$TIMELIMIT -t 1 -T 4 sh -c 'trap "" TERM; echo 1; sleep 3; echo 2; sleep 3; echo 3' 2>&1 > /dev/null` timelimit-1.9.0/t/03-output.t-49-res="$?" ############################################## timelimit-1.9.0/t/03-output.t-54-diag_ 'now do the same, but be vewwy, vewwy quiet...' timelimit-1.9.0/t/03-output.t:55:v=`$TIMELIMIT -q -t 1 -T 4 sh -c 'trap "" TERM; echo 1; sleep 3; echo 2; sleep 3; echo 3' 2>&1 > /dev/null` timelimit-1.9.0/t/03-output.t-56-res="$?" ############################################## timelimit-1.9.0/t/04-signames.t-40-diag_ 'list the available signal names' timelimit-1.9.0/t/04-signames.t:41:v=`$TIMELIMIT -l 2>/dev/null` timelimit-1.9.0/t/04-signames.t-42-res="$?" ############################################## timelimit-1.9.0/t/04-signames.t-49-diag_ 'use signal names' timelimit-1.9.0/t/04-signames.t:50:v=`$TIMELIMIT -t 1 -s HUP -T 1 -S TERM sh -c 'trap "" HUP; echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/04-signames.t-51-res="$?" ############################################## timelimit-1.9.0/t/04-signames.t-56-diag_ 'use an invalid signal name for the warning signal' timelimit-1.9.0/t/04-signames.t:57:v=`$TIMELIMIT -t 1 -s HUX -T 1 -S TERM sh -c 'trap "" HUP; echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/04-signames.t-58-res="$?" ############################################## timelimit-1.9.0/t/04-signames.t-61-diag_ 'use an invalid signal name for the kill signal' timelimit-1.9.0/t/04-signames.t:62:v=`$TIMELIMIT -t 1 -s HUP -T 1 -S TERX sh -c 'trap "" HUP; echo 1; sleep 3; echo 2' 2>/dev/null` timelimit-1.9.0/t/04-signames.t-63-res="$?"