[FFmpeg-cvslog] r24649 - trunk/tests/fate.sh

mru subversion
Sun Aug 1 14:29:00 CEST 2010


Author: mru
Date: Sun Aug  1 14:29:00 2010
New Revision: 24649

Log:
fate: make tar command configurable

The 'tar' variable should be set to a command writing a tar archive
of the named files to stdout, typically "tar c" or "tar cf -"

Modified:
   trunk/tests/fate.sh

Modified: trunk/tests/fate.sh
==============================================================================
--- trunk/tests/fate.sh	Sun Aug  1 13:34:59 2010	(r24648)
+++ trunk/tests/fate.sh	Sun Aug  1 14:29:00 2010	(r24649)
@@ -11,6 +11,7 @@ test -r "$config"  || die "usage: fate.s
 
 workdir=$(dirname $config)
 make=make
+tar='tar c'
 
 . "$config"
 
@@ -77,7 +78,7 @@ report(){
     date=$(date -u +%Y%m%d%H%M%S)
     echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
     cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
-    test -n "$fate_recv" && tar cz report *.log | $fate_recv
+    test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
 }
 
 fail(){



More information about the ffmpeg-cvslog mailing list