Index: git_cl/test/upload-local-tracking-branch.sh |
diff --git a/git_cl/test/upload-local-tracking-branch.sh b/git_cl/test/upload-local-tracking-branch.sh |
index 3fc759af19d4faa572b4acb94c2df32ceee6305e..db226ebcba61b167f2a4ee57f5d68c12f747e9f6 100755 |
--- a/git_cl/test/upload-local-tracking-branch.sh |
+++ b/git_cl/test/upload-local-tracking-branch.sh |
@@ -18,7 +18,7 @@ setup_gitgit |
git config rietveld.server localhost:8080 |
# Prevent the editor from coming up when you upload. |
- export EDITOR=/bin/true |
+ export EDITOR=$(which true) |
test_expect_success "upload succeeds (needs a server running on localhost)" \ |
"$GIT_CL upload -m test | grep -q 'Issue created'" |
) |