diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-02-10 12:52:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-10 12:52:25 -0800 |
commit | cf36a4dc3589da2df8ab2101b5c385f12abcd67d (patch) | |
tree | de97e5e1f8585b4d66b251a6143f8966a880e3f2 /t | |
parent | 65fecf0c08ceb5dd492281aa5894df64f898a118 (diff) | |
parent | c86000c1a7499541221fe087514299579895e807 (diff) | |
download | git-cf36a4dc3589da2df8ab2101b5c385f12abcd67d.tar.gz |
Merge branch 'rs/p5302-create-repositories-before-tests'
Adjust a perf test to new world order where commands that do
require a repository are really strict about having a repository.
* rs/p5302-create-repositories-before-tests:
p5302: create repositories for index-pack results explicitly
Diffstat (limited to 't')
-rwxr-xr-x | t/perf/p5302-pack-index.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/perf/p5302-pack-index.sh b/t/perf/p5302-pack-index.sh index 5ee9211f98..99bdb16c85 100755 --- a/t/perf/p5302-pack-index.sh +++ b/t/perf/p5302-pack-index.sh @@ -13,6 +13,13 @@ test_expect_success 'repack' ' export PACK ' +test_expect_success 'create target repositories' ' + for repo in t1 t2 t3 t4 t5 t6 + do + git init --bare $repo + done +' + test_perf 'index-pack 0 threads' ' GIT_DIR=t1 git index-pack --threads=1 --stdin < $PACK ' |