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

Side by Side Diff: tests/hooks.sh

Issue 6758001: Move git_cl back into depot_tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Add stub to not break incremental update Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/basic.sh ('k') | tests/local_rietveld.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Tests the "preupload and predcommit hooks" functionality, which lets you run 3 # Tests the "preupload and predcommit hooks" functionality, which lets you run
4 # hooks by installing a script into .git/hooks/pre-cl-* first. 4 # hooks by installing a script into .git/hooks/pre-cl-* first.
5 5
6 set -e 6 set -e
7 7
8 . ./test-lib.sh 8 . ./test-lib.sh
9 9
10 setup_initsvn 10 setup_initsvn
(...skipping 30 matching lines...) Expand all
41 # Verify git cl dcommit fails. 41 # Verify git cl dcommit fails.
42 test_expect_failure "git-cl dcommit hook fails" "$GIT_CL dcommit master" 42 test_expect_failure "git-cl dcommit hook fails" "$GIT_CL dcommit master"
43 ) 43 )
44 SUCCESS=$? 44 SUCCESS=$?
45 45
46 #cleanup 46 #cleanup
47 47
48 if [ $SUCCESS == 0 ]; then 48 if [ $SUCCESS == 0 ]; then
49 echo PASS 49 echo PASS
50 fi 50 fi
OLDNEW
« no previous file with comments | « tests/basic.sh ('k') | tests/local_rietveld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698