print the correct script name in error message
This commit is contained in:
@@ -30,7 +30,7 @@ fi
|
||||
|
||||
sh ifconfig.sh start || exit $?
|
||||
|
||||
test $# -gt 0 || { echo "usage: runtest.sh test-directory" >&2; exit 1; }
|
||||
test $# -gt 0 || { echo "usage: $0 test-directory" >&2; exit 1; }
|
||||
|
||||
test=$1
|
||||
shift
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
SYSTEMTESTTOP=.
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
||||
test $# -gt 0 || { echo "usage: runtest.sh test-directory" >&2; exit 1; }
|
||||
test $# -gt 0 || { echo "usage: $0 test-directory" >&2; exit 1; }
|
||||
|
||||
test=$1
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user