t9600: require cvsps 2.1 to perform tests
[gitweb.git] / t / t7005-editor.sh
index ed416e14e07950d9c7a0d0b85cd9e0307dd55a65..44228b5ac12f5df9d6def93dc74e3687ba2d8e73 100755 (executable)
@@ -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
@@ -87,4 +89,6 @@ do
        '
 done
 
+TERM="$OLD_TERM"
+
 test_done