killchain-compendium/misc/telecommunications/sipvicious/autotest/common.sh

6 lines
60 B
Bash

do_test() {
$2
if [ $? -ne $1 ]; then exit 1; fi
}