| OLD | NEW |
| 1 #!/bin/bash | 1 #!/usr/bin/env bash |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 set -e | 7 set -e |
| 8 | 8 |
| 9 . ./test-lib.sh | 9 . ./test-lib.sh |
| 10 | 10 |
| 11 setup_initsvn | 11 setup_initsvn |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 test_expect_success "git svn fetch gets new svn revision" \ | 49 test_expect_success "git svn fetch gets new svn revision" \ |
| 50 "test $last_svn_rev = trunk@$next_svn_revision" | 50 "test $last_svn_rev = trunk@$next_svn_revision" |
| 51 ) | 51 ) |
| 52 SUCCESS=$? | 52 SUCCESS=$? |
| 53 | 53 |
| 54 #cleanup | 54 #cleanup |
| 55 | 55 |
| 56 if [ $SUCCESS == 0 ]; then | 56 if [ $SUCCESS == 0 ]; then |
| 57 echo PASS | 57 echo PASS |
| 58 fi | 58 fi |
| OLD | NEW |