diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2021-08-26 23:00:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-07 23:23:47 -0700 |
commit | daad41c96dd125bf2a667b24c334edcaede3dae5 (patch) | |
tree | e241e5084981c0db6e2168ab8f3232e6fbc8fd3c /t/t9816-git-p4-locked.sh | |
parent | t1600-index: don't run git commands upstream of a pipe (diff) | |
download | tgif-daad41c96dd125bf2a667b24c334edcaede3dae5.tar.xz |
t1600-index: disable GIT_TEST_SPLIT_INDEX
Tests in 't1600-index.sh' check that various bogus index version
values are recognized and an appropriate warning message is issued.
GIT_TEST_SPLIT_INDEX=1 is supposed to trigger index splitting
randomly, and thus might interfere [1] with these tests: splitting the
index means that two index files are written (the shared base index
and the split '.git/index'), and the same warning message is then
issued twice, failing these tests.
Unset GIT_TEST_SPLIT_INDEX in this test script to avoid such
interference.
[1] There is no such interference at the moment, because, alas,
GIT_TEST_SPLIT_INDEX=1 is broken and never split the index. There
was no such interference in the past (before it broke) either,
because the first index write with GIT_TEST_SPLIT_INDEX=1 never
split the index, only the second write did. A subsequent commit
fixing GIT_TEST_SPLIT_INDEX will have all the details on this.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9816-git-p4-locked.sh')
0 files changed, 0 insertions, 0 deletions