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

Unified Diff: tests/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/abandon.sh ('k') | tests/git_cl_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/basic.sh
diff --git a/tests/basic.sh b/tests/basic.sh
index 85dedaee86539a638ae7ed16aa0750ebe11d5110..224d09792b2169df486e95d5fe843475c6661d67 100755
--- a/tests/basic.sh
+++ b/tests/basic.sh
@@ -21,7 +21,7 @@ setup_gitsvn
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
@@ -32,7 +32,7 @@ setup_gitsvn
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'"
@@ -46,7 +46,7 @@ setup_gitsvn
$URL/edit
test_expect_success "git-cl dcommits ok" \
- "$GIT_CL dcommit -f"
+ "$GIT_CL dcommit -f --no-oauth2"
git checkout -q master
git svn -q rebase >/dev/null 2>&1
« no previous file with comments | « tests/abandon.sh ('k') | tests/git_cl_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698