summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-04-06 17:08:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-07 03:02:43 (GMT)
commitf2b3e3c722fed852c59880f4773bc51833229cd3 (patch)
tree0e05cd9e1d0ad633004fe0b654425019aebc16df /t
parentd9e3b7025fdfeb80bb72a10b5d272acfbb5df72a (diff)
downloadgit-f2b3e3c722fed852c59880f4773bc51833229cd3.zip
git-f2b3e3c722fed852c59880f4773bc51833229cd3.tar.gz
git-f2b3e3c722fed852c59880f4773bc51833229cd3.tar.bz2
test suite: remove useless TERM cruft in "t7005-editor.sh"
In commit 15387e3 (Test suite: reset TERM to its previous value after testing., 2007-10-26), I added a workaround to reset TERM to its previous value before the "test_done" at the end of "t7005-editor.sh" because otherwise "test_done" would have printed the test result with a bad TERM env variable (this resulted in output with no color on konsole). But since commit c2116a1 (test-lib: fix TERM to dumb for test repeatability, 2008-03-06), colored output is printed in a subshell with TERM reset to its original value so the earlier workaround is not needed anymore. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7005-editor.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index 6a74b3a..2d919d6 100755
--- a/t/t7005-editor.sh
+++ b/t/t7005-editor.sh
@@ -4,8 +4,6 @@ test_description='GIT_EDITOR, core.editor, and stuff'
. ./test-lib.sh
-OLD_TERM="$TERM"
-
for i in GIT_EDITOR core_editor EDITOR VISUAL vi
do
cat >e-$i.sh <<-EOF
@@ -116,6 +114,4 @@ test_expect_success 'core.editor with a space' '
'
-TERM="$OLD_TERM"
-
test_done