diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index ed416e14e07950d9c7a0d0b85cd9e0307dd55a65..44228b5ac12f5df9d6def93dc74e3687ba2d8e73 100755 (executable)
--- a/t/t7005-editor.sh
+++ b/t/t7005-editor.sh
. ./test-lib.sh
+OLD_TERM="$TERM"
+
for i in GIT_EDITOR core_editor EDITOR VISUAL vi
do
cat >e-$i.sh <<-EOF
'
done
+TERM="$OLD_TERM"
+
test_done