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

Unified Diff: tests/push-from-logs.sh

Issue 20889002: Fix depot_tools tests external dependency (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: rebase Created 7 years, 5 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/push-basic.sh ('k') | tests/test-lib.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/push-from-logs.sh
diff --git a/tests/push-from-logs.sh b/tests/push-from-logs.sh
index e68b3d2464a44e843bb1b8da9427195995e6234e..aba4cb242f16fbad4d6bf8a56c579a30d5c70399 100755
--- a/tests/push-from-logs.sh
+++ b/tests/push-from-logs.sh
@@ -26,7 +26,7 @@ setup_gitgit
git config rietveld.server localhost:8080
test_expect_success "git-cl status has no issue" \
- "$GIT_CL status | grep -q 'no issue'"
+ "$GIT_CL_STATUS | grep -q 'no issue'"
# Prevent the editor from coming up when you upload.
export EDITOR=$(which true)
@@ -35,15 +35,15 @@ setup_gitgit
grep -q 'Issue created'"
test_expect_success "git-cl status now knows the issue" \
- "$GIT_CL status | grep -q 'Issue number'"
+ "$GIT_CL_STATUS | grep -q 'Issue number'"
# Check to see if the description contains the local commit messages.
# Should contain 'branch work' x 2.
test_expect_success "git-cl status has the right description for the log" \
- "$GIT_CL status --field desc | [ $( egrep -q '^branch work$' -c ) -eq 2 ]
+ "$GIT_CL_STATUS --field desc | [ $( egrep -q '^branch work$' -c ) -eq 2 ]
test_expect_success "git-cl status has the right subject from message" \
- "$GIT_CL status --field desc | \
+ "$GIT_CL_STATUS --field desc | \
[ $( egrep -q '^test$' --byte-offset) | grep '^0:' ]
test_expect_success "git-cl push ok" \
@@ -56,7 +56,7 @@ setup_gitgit
"git show | [ $( egrep -q '^branch work$' -c ) -eq 2 ]
test_expect_success "issue no longer has a branch" \
- "$GIT_CL status | grep -q 'work: None'"
+ "$GIT_CL_STATUS | grep -q 'work: None'"
cd $GITREPO_PATH
test_expect_success "upstream repo has our commit" \
« no previous file with comments | « tests/push-basic.sh ('k') | tests/test-lib.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698