diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-03 12:38:04 -0700 |
commit | e5d7e9f5164e90386622a80a9dfc4b1675bcc92b (patch) | |
tree | 249acfc3c5eea951be98009729ce9e268adf291b /t/t5100/patch0018 | |
parent | t: drop unnecessary terminating semicolon in subshell (diff) | |
download | tgif-e5d7e9f5164e90386622a80a9dfc4b1675bcc92b.tar.xz |
t/lib-submodule-update: fix "absorbing" test
This test has been dysfunctional since it was added by 259f3ee296
(lib-submodule-update.sh: define tests for recursing into submodules,
2017-03-14), however, the problem went unnoticed due to a broken
&&-chain.
The test wants to verify that replacing a submodule containing a .git
directory will absorb the .git directory into the .git/modules/ of the
superproject, and then replace the working tree content appropriate to
the superproject. It is, therefore, incorrect to check if the
submodule content still exists since the submodule will have been
replaced by the content of the superproject.
Fix this by removing the submodule content check, which also happens
to be the line that broke the &&-chain.
While at it, fix broken &&-chains in a couple neighboring tests.
Helped-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/patch0018')
0 files changed, 0 insertions, 0 deletions