From f0388cf7168e0b56ce591ef7b48eb8e0ee459034 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 18 Jul 2010 20:19:25 +0000 Subject: fate: apply TARGET_EXEC only to commands starting with absolute path Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate-run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/fate-run.sh') 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" ;; -- cgit v1.2.3