[FFmpeg-cvslog] r24313 - trunk/tests/fate-run.sh

mru subversion
Sun Jul 18 22:19:26 CEST 2010


Author: mru
Date: Sun Jul 18 22:19:25 2010
New Revision: 24313

Log:
fate: apply TARGET_EXEC only to commands starting with absolute path

Modified:
   trunk/tests/fate-run.sh

Modified: trunk/tests/fate-run.sh
==============================================================================
--- trunk/tests/fate-run.sh	Sun Jul 18 22:19:21 2010	(r24312)
+++ trunk/tests/fate-run.sh	Sun Jul 18 22:19:25 2010	(r24313)
@@ -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"            ;;



More information about the ffmpeg-cvslog mailing list