Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: tests/push-basic.sh

Issue 1095033002: Enable OAuth2 by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: fix smoke tests Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/post-dcommit-hook-test.sh ('k') | tests/push-from-logs.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/push-basic.sh
diff --git a/tests/push-basic.sh b/tests/push-basic.sh
index b68f8045b05b25c0f99e10834ab38b73989f9d2d..e98d58fc4fd176c1ab3ee4cf14fb9cdec0825182 100755
--- a/tests/push-basic.sh
+++ b/tests/push-basic.sh
@@ -21,7 +21,7 @@ setup_gitgit
git add test; git commit -q -m "branch work"
test_expect_success "git-cl upload wants a server" \
- "$GIT_CL upload 2>&1 | grep -q 'You must configure'"
+ "$GIT_CL upload --no-oauth2 2>&1 | grep -q 'You must configure'"
git config rietveld.server localhost:10000
@@ -31,7 +31,7 @@ setup_gitgit
# Prevent the editor from coming up when you upload.
export GIT_EDITOR=$(which true)
test_expect_success "upload succeeds (needs a server running on localhost)" \
- "$GIT_CL upload -m test master | grep -q 'Issue created'"
+ "$GIT_CL upload --no-oauth2 -m test master | grep -q 'Issue created'"
test_expect_success "git-cl status now knows the issue" \
"$GIT_CL_STATUS | grep -q 'Issue number'"
@@ -48,7 +48,7 @@ setup_gitgit
"curl -s $($GIT_CL_STATUS --field=url) | grep 'URL:[[:space:]]*[^<]' | grep -q '@master'"
test_expect_success "git-cl land ok" \
- "$GIT_CL land -f"
+ "$GIT_CL land -f --no-oauth2"
git checkout -q master > /dev/null 2>&1
git pull -q > /dev/null 2>&1
« no previous file with comments | « tests/post-dcommit-hook-test.sh ('k') | tests/push-from-logs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698