summaryrefslogtreecommitdiff
path: root/tools/mvtest
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mvtest')
-rwxr-xr-xtools/mvtest2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mvtest b/tools/mvtest
index 99b15414..09a9982b 100755
--- a/tools/mvtest
+++ b/tools/mvtest
@@ -34,6 +34,8 @@ did="$(basename "${dest}")"
git mv "tests/${src}" "tests/${dest}"
git mv "tests/${src}.out" "tests/${dest}.out"
+# make sure testcase is executable
+chmod a+x "tests/${dest}"
sed -e "s/^# FS[[:space:]]*QA.*Test.*[0-9]\+$/# FS QA Test No. ${did}/g" -i "tests/${dest}"
sed -e "s/^QA output created by ${sid}$/QA output created by ${did}/g" -i "tests/${dest}.out"
sed -e "s/test-${sid}/test-${did}/g" -i "tests/${dest}.out"