]> git.ipfire.org Git - thirdparty/git.git/commit - t/t1300-config.sh
t: use sane_unset() rather than 'unset' with broken &&-chain
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 2 Jul 2018 00:23:43 +0000 (20:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2018 19:38:04 +0000 (12:38 -0700)
commited6c994af407dd2bea110460657222e39a7d83ad
tree8b21a757e09a53b572e01aad98d260a98afca0c5
parent0590ff26c406204281262c2753b3b92aa07f59c7
t: use sane_unset() rather than 'unset' with broken &&-chain

These tests intentionally break the &&-chain after using 'unset' since
they don't know if 'unset' will succeed or fail and don't want a local
'unset' failure to fail the test overall. We can do better by using
sane_unset(), which can be linked into the &&-chain as usual.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0001-init.sh
t/t1300-config.sh