Merge branch 'bp/rename-test-env-var'
[gitweb.git] / t / t1700-split-index.sh
index f6a856f24c8c4c08e7a664041b1b9a9885970b24..8f8807d1c1dc387a153a066153211899415e879f 100755 (executable)
@@ -57,7 +57,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