Fix cut and paste error in script

Make it more generic in the process

Signed-off-by: Michael Neuling <mikey@neuling.org>
pull/197/head
Michael Neuling 4 years ago
parent e26b0491c9
commit 34d6954630

@ -1,7 +1,7 @@
#!/bin/bash

if [ $# -ne 1 ]; then
echo "Usage: run_test.sh <test>"
echo "Usage: $(basename $0) <test>"
exit 1
fi


@ -3,7 +3,7 @@
# Runs a test and checks the console output against known good output

if [ $# -ne 1 ]; then
echo "Usage: run_test.sh <test>"
echo "Usage: $(basename $0) <test>"
exit 1
fi


Loading…
Cancel
Save