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

Unified Diff: tests/post-dcommit-hook-test.sh

Issue 7253015: Remove manual --tbr support and convert it into automatic TBR= detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: removed tests/tbr.sh Created 9 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
Index: tests/post-dcommit-hook-test.sh
diff --git a/tests/post-dcommit-hook-test.sh b/tests/post-dcommit-hook-test.sh
index cd3ecbe7f66d0aae76f7f88cdb76a58e6b8dbab5..e5d1a17c6db407103a71784570d6755b33341a50 100755
--- a/tests/post-dcommit-hook-test.sh
+++ b/tests/post-dcommit-hook-test.sh
@@ -20,10 +20,11 @@ _EOF
git config rietveld.server localhost:1
git checkout -q --track -b work
echo "some work done" >> test
- git add test; git commit -q -m "work"
+ git add test; git commit -q -m "work \
+TBR=foo"
test_expect_success "dcommitted code" \
- "$GIT_CL dcommit -f --tbr --bypass-hooks -m 'dcommit'"
+ "$GIT_CL dcommit -f --bypass-hooks -m 'dcommit'"
test_expect_success "post-cl-dcommit hook executed" \
"git symbolic-ref HEAD | grep -q COMMITTED"

Powered by Google App Engine
This is Rietveld 408576698