t7006: modernize calls to unset

These tests break &&-chaining to deal with broken "unset" implementations. Instead, they should just use sane_unset. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Aug 17, 2011 at 22:00 UTC 212ad944209a928dbf79faa124de77be5c84532e
1 file changed +2 -2
t/t7006-pager.sh
+2 -2
@@ -402,7 +402,7 @@ test_core_pager_subdir expect_success test_must_fail \
402 'git -p apply </dev/null'
403
404 test_expect_success TTY 'command-specific pager' '
405 - unset PAGER GIT_PAGER;
405 + sane_unset PAGER GIT_PAGER &&
406 echo "foo:initial" >expect &&
407 >actual &&
408 git config --unset core.pager &&
@@ -412,7 +412,7 @@ test_expect_success TTY 'command-specific pager' '
412 '
413
414 test_expect_success TTY 'command-specific pager overrides core.pager' '
415 - unset PAGER GIT_PAGER;
415 + sane_unset PAGER GIT_PAGER &&
416 echo "foo:initial" >expect &&
417 >actual &&
418 git config core.pager "exit 1"