summaryrefslogtreecommitdiff
path: root/t/t1700-split-index.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 13:57:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-21 13:57:57 (GMT)
commit85f6afc28b64cfd233f80f56896941530df0dcc0 (patch)
tree7cefdfd4743306d7266d7d88336614c683832d31 /t/t1700-split-index.sh
parent3ae0ac65cff232db66282efa931c0e7e83a60e24 (diff)
parent456d7cd3a96bdc8b14af6440051805de8a581364 (diff)
downloadgit-85f6afc28b64cfd233f80f56896941530df0dcc0.zip
git-85f6afc28b64cfd233f80f56896941530df0dcc0.tar.gz
git-85f6afc28b64cfd233f80f56896941530df0dcc0.tar.bz2
Merge branch 'sg/split-index-test' into maint
Test updates. * sg/split-index-test: t0090: disable GIT_TEST_SPLIT_INDEX for the test checking split index t1700-split-index: drop unnecessary 'grep'
Diffstat (limited to 't/t1700-split-index.sh')
-rwxr-xr-xt/t1700-split-index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh
index ae74d26..f053bf8 100755
--- a/t/t1700-split-index.sh
+++ b/t/t1700-split-index.sh
@@ -67,7 +67,7 @@ test_expect_success 'disable split index' '
EOF
test_cmp ls-files.expect ls-files.actual &&
- BASE=$(test-tool dump-split-index .git/index | grep "^own" | sed "s/own/base/") &&
+ BASE=$(test-tool dump-split-index .git/index | sed -n "s/^own/base/p") &&
test-tool dump-split-index .git/index | sed "/^own/d" >actual &&
cat >expect <<-EOF &&
not a split index