3 test_description='git p4 handling of EDITOR'
7 test_expect_success 'start p4d' '
11 test_expect_success 'init depot' '
20 # Check that the P4EDITOR argument can be given command-line
21 # options, which git-p4 will then pass through to the shell.
22 test_expect_success 'EDITOR with options' '
23 git p4 clone --dest="$git" //depot &&
24 test_when_finished cleanup_git &&
28 git commit -m "change" file1 &&
29 P4EDITOR=": >\"$git/touched\" && test-tool chmtime +5" git p4 submit &&
30 test_path_is_file "$git/touched"
34 test_expect_success 'kill p4d' '