aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rwxr-xr-xvalidation/test-suite7
1 files changed, 4 insertions, 3 deletions
diff --git a/validation/test-suite b/validation/test-suite
index da9d8815..3056fce9 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -189,11 +189,10 @@ do_test()
if [ "$check_command" = "" ]; then
check_command="$defaut_command"
fi
- cmd=`eval echo $default_path/$check_command`
# check for disabled commands
- set -- $cmd
- base_cmd=`basename $1`
+ set -- $check_command
+ base_cmd=$1
for i in $disabled_cmds; do
if [ "$i" = "$base_cmd" ] ; then
disabled_tests=$(($disabled_tests + 1))
@@ -202,6 +201,8 @@ do_test()
fi
done
+ cmd=`eval echo $default_path/$check_command`
+
echo " TEST $test_name ($file)"
verbose "Using command : $cmd"