From 8b0816cbc36b9973823eaf46fdbfd836eeb0d3b7 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 1 Aug 2010 12:29:00 +0000 Subject: 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 --- tests/fate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/fate.sh') 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 " 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(){ -- cgit v1.2.3