X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft7005-editor.sh;h=01cc0c02b1c20afef664110389b88af702c52ef7;hb=4340a813d007b592534de664d152d66417dbe809;hp=28643b0da41cab7af9464adbaae59a88820b1ebe;hpb=ef0c2abf3e5061f891b7f07953ef3b0695f52c89;p=git.git diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 28643b0da..01cc0c02b 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -4,6 +4,8 @@ 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 @@ -88,4 +90,6 @@ do ' done +TERM="$OLD_TERM" + test_done