summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fate-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index a4c50e26a2..541f87a524 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -42,7 +42,8 @@ fi
mkdir -p "$outdir"
-eval $target_exec $command > "$outfile" 2>/dev/null || exit
+case "$command" in /*) command="$target_exec $command" ;; esac
+eval $command > "$outfile" 2>/dev/null || exit
case $cmp in
diff) diff -u -w "$ref" "$outfile" ;;