Index: git_cl/test/upload-stale.sh |
diff --git a/git_cl/test/upload-stale.sh b/git_cl/test/upload-stale.sh |
index e65b0668982aab928174bd0e07983ca13779efec..87c1cb03956e86eb5204d4ee3c4073c5831ba594 100755 |
--- a/git_cl/test/upload-stale.sh |
+++ b/git_cl/test/upload-stale.sh |
@@ -17,7 +17,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'" |