Browse code

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 -"

Originally committed as revision 24649 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/08/01 21:29:00
Showing 1 changed files
... ...
@@ -11,6 +11,7 @@ test -r "$config"  || die "usage: fate.sh <config>"
11 11
 
12 12
 workdir=$(dirname $config)
13 13
 make=make
14
+tar='tar c'
14 15
 
15 16
 . "$config"
16 17
 
... ...
@@ -77,7 +78,7 @@ report(){
77 77
     date=$(date -u +%Y%m%d%H%M%S)
78 78
     echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
79 79
     cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
80
-    test -n "$fate_recv" && tar cz report *.log | $fate_recv
80
+    test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
81 81
 }
82 82
 
83 83
 fail(){