cleanup some qa stuff
[xfstests-dev.git] / check
diff --git a/check b/check
index c854eb636e853e74d1b4525efb319df3a9a1e979..ea6081b7225ea66e0b1d71ba44959a615fbc67a2 100755 (executable)
--- a/check
+++ b/check
@@ -223,7 +223,8 @@ do
 
        start=`_wallclock`
        $timestamp && echo -n " ["`date "+%T"`"]"
-       sh $seq >$tmp.rawout 2>&1
+       [ ! -x $seq ] && chmod u+x $seq # ensure we can run it
+       ./$seq >$tmp.rawout 2>&1
        sts=$?
        $timestamp && echo -n " ["`date "+%T"`"]"
        stop=`_wallclock`