From: Jeff King Date: Thu, 18 Aug 2011 05:00:47 GMT Subject: [PATCH 01/10] t7006: modernize calls to unset Message-ID: <20110818050044.GA2889@sigill.intra.peff.net> In-Reply-To: <20110818045821.GA17377@sigill.intra.peff.net> These tests break &&-chaining to deal with broken "unset" implementations. Instead, they should just use sane_unset. Signed-off-by: Jeff King --- t/t7006-pager.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh index ed7575d..c0a3135 100755 --- a/t/t7006-pager.sh +++ b/t/t7006-pager.sh @@ -402,7 +402,7 @@ test_core_pager_subdir expect_success test_must_fail \ 'git -p apply expect && >actual && git config --unset core.pager && @@ -412,7 +412,7 @@ test_expect_success TTY 'command-specific pager' ' ' test_expect_success TTY 'command-specific pager overrides core.pager' ' - unset PAGER GIT_PAGER; + sane_unset PAGER GIT_PAGER && echo "foo:initial" >expect && >actual && git config core.pager "exit 1" -- 1.7.6.10.g62f04