mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
t3513: 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 <megabreit@googlemail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
765428699a
commit
95f0539edf
|
@ -14,11 +14,11 @@ test_description='revert can handle submodules'
|
|||
git_revert () {
|
||||
git status -su >expect &&
|
||||
ls -1pR * >>expect &&
|
||||
tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
|
||||
tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
|
||||
git checkout "$1" &&
|
||||
git revert HEAD &&
|
||||
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 &&
|
||||
|
|
Loading…
Reference in a new issue