Browse Source

Merge branch 'kf/t5000-modernise'

Test clean-up.

* kf/t5000-modernise:
  t5000: modernise archive and :(glob) test
maint
Junio C Hamano 2 years ago
parent
commit
063ec7b3b8
  1. 10
      t/t5000-tar-tree.sh

10
t/t5000-tar-tree.sh

@ -402,11 +402,11 @@ test_expect_success GZIP 'extract tgz file (external gzip)' ' @@ -402,11 +402,11 @@ test_expect_success GZIP 'extract tgz file (external gzip)' '

test_expect_success 'archive and :(glob)' '
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
cat >expect <<EOF &&
a/
a/bin/
a/bin/sh
EOF
cat >expect <<-\EOF &&
a/
a/bin/
a/bin/sh
EOF
test_cmp expect actual
'


Loading…
Cancel
Save