| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 3 set -e | 7 set -e |
| 4 | 8 |
| 5 . ./test-lib.sh | 9 . ./test-lib.sh |
| 6 | 10 |
| 7 setup_initsvn | 11 setup_initsvn |
| 8 setup_gitsvn | 12 setup_gitsvn |
| 9 | 13 |
| 10 ( | 14 ( |
| 11 | 15 |
| 12 set -e | 16 set -e |
| (...skipping 24 matching lines...) Expand all Loading... |
| 37 test_expect_success "git-cl dcommit --tbr succeeds" \ | 41 test_expect_success "git-cl dcommit --tbr succeeds" \ |
| 38 "$GIT_CL dcommit --tbr -f | grep -q -- '--tbr was specified'" | 42 "$GIT_CL dcommit --tbr -f | grep -q -- '--tbr was specified'" |
| 39 ) | 43 ) |
| 40 SUCCESS=$? | 44 SUCCESS=$? |
| 41 | 45 |
| 42 cleanup | 46 cleanup |
| 43 | 47 |
| 44 if [ $SUCCESS == 0 ]; then | 48 if [ $SUCCESS == 0 ]; then |
| 45 echo PASS | 49 echo PASS |
| 46 fi | 50 fi |
| OLD | NEW |