git p4: fix unit tests
[gitweb.git] / t / t9805-git-p4-skip-submit-edit.sh
index 4a72f7952278eb5a92e0575c5c5c15fbe61d57b0..353dcfbe09fec2c2a85427e3e5cb378b9a8318d8 100755 (executable)
@@ -91,7 +91,7 @@ test_expect_success 'no config, edited' '
                cd "$git" &&
                echo line >>file1 &&
                git commit -a -m "change 5" &&
-               EDITOR="\"$ed\"" git p4 submit &&
+               P4EDITOR="" EDITOR="\"$ed\"" git p4 submit &&
                p4 changes //depot/... >wc &&
                test_line_count = 5 wc
        )