diff --git a/bin/tests/system/run.sh b/bin/tests/system/run.sh index 61f0f81363..d011db6f5d 100644 --- a/bin/tests/system/run.sh +++ b/bin/tests/system/run.sh @@ -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 diff --git a/bin/tests/system/setup.sh b/bin/tests/system/setup.sh index d45305654c..96276e33d9 100644 --- a/bin/tests/system/setup.sh +++ b/bin/tests/system/setup.sh @@ -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