From: Stefan Beller Date: Mon, 9 May 2016 17:09:08 +0000 (-0700) Subject: t6041: do not compress backup tar file X-Git-Tag: v2.9.0-rc0~39^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f5ee54aab1b68dc4810e71460028cee191186be4;p=git-core%2Fgit.git t6041: do not compress backup tar file The test uses the 'z' option, i.e. "compress the output while at it", which is GNUism and not portable. Reported-by: Armin Kunaschik Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff --git a/t/t6041-bisect-submodule.sh b/t/t6041-bisect-submodule.sh index c6b7aa697..62b8a2e7b 100755 --- a/t/t6041-bisect-submodule.sh +++ b/t/t6041-bisect-submodule.sh @@ -8,7 +8,7 @@ test_description='bisect can handle submodules' git_bisect () { git status -su >expect && ls -1pR * >>expect && - tar czf "$TRASH_DIRECTORY/tmp.tgz" * && + tar cf "$TRASH_DIRECTORY/tmp.tar" * && GOOD=$(git rev-parse --verify HEAD) && git checkout "$1" && echo "foo" >bar && @@ -20,7 +20,7 @@ git_bisect () { git bisect start && git bisect good $GOOD && rm -rf * && - tar xzf "$TRASH_DIRECTORY/tmp.tgz" && + tar xf "$TRASH_DIRECTORY/tmp.tar" && git status -su >actual && ls -1pR * >>actual && test_cmp expect actual &&