diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-01 16:29:00 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-01 16:29:00 +0400 |
commit | 8b0816cbc36b9973823eaf46fdbfd836eeb0d3b7 (patch) | |
tree | c7055127fc2095624c3331fe75c8570833eb816d /tests/fate.sh | |
parent | 7e7fc4e9ee071e447269549961ee5d42b4c31078 (diff) |
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
Diffstat (limited to 'tests/fate.sh')
-rwxr-xr-x | tests/fate.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate.sh b/tests/fate.sh index 5ca85000b5..7e5deee90b 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -11,6 +11,7 @@ test -r "$config" || die "usage: fate.sh <config>" 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(){ |