Index: git_cl/test/save-description-on-failure.sh |
diff --git a/git_cl/test/save-description-on-failure.sh b/git_cl/test/save-description-on-failure.sh |
index d4a09817f578cc474221e3973c932920d01fa7ba..684b63d0c1bcb612cc6003a56e2f8842701756f3 100755 |
--- a/git_cl/test/save-description-on-failure.sh |
+++ b/git_cl/test/save-description-on-failure.sh |
@@ -28,7 +28,7 @@ setup_gitgit |
git add test; git commit -q -m "$DESC" |
# Try to upload the change to an unresolvable hostname; git-cl should fail. |
- export EDITOR=/bin/true |
+ export EDITOR=$(which true) |
git config rietveld.server bogus.example.com:80 |
test_expect_failure "uploading to bogus server" "$GIT_CL upload 2>/dev/null" |