git-p4: add tests for non-numeric revision range
[gitweb.git] / t / t9803-git-p4-shell-metachars.sh
index fbacff34fed6607ec3d0470a28a9fde31bfa7c0c..d950c7d665498c484f83d127cd2363def5169a89 100755 (executable)
@@ -28,7 +28,7 @@ test_expect_success 'shell metachars in filenames' '
                echo f2 >"file with spaces" &&
                git add "file with spaces" &&
                git commit -m "add files" &&
-               P4EDITOR=touch git p4 submit
+               P4EDITOR="test-chmtime +5" git p4 submit
        ) &&
        (
                cd "$cli" &&
@@ -47,7 +47,7 @@ test_expect_success 'deleting with shell metachars' '
                git rm foo\$bar &&
                git rm file\ with\ spaces &&
                git commit -m "remove files" &&
-               P4EDITOR=touch git p4 submit
+               P4EDITOR="test-chmtime +5" git p4 submit
        ) &&
        (
                cd "$cli" &&