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

Side by Side Diff: tests/upstream.sh

Issue 2360113002: Delete unneeded test. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env bash
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
7 # Check guessing the svn upstream branch.
8
9 set -e
10
11 . ./test-lib.sh
12
13 setup_initsvn
14 setup_gitsvn
15
16 (
17 set -e
18 cd git-svn
19
20 git config rietveld.server localhost:10000
21
22 for ref in refs/remotes/origin/trunk refs/remotes/origin/some_branch; do
23 git branch -f --set-upstream feature_branch $ref
24 git checkout -q feature_branch
25 test_expect_success "Guessing upstream branch for $ref" \
26 "$GIT_CL upstream | egrep -q '^$ref$'"
27 git checkout -q master
28 done
29 )
30
31 SUCCESS=$?
32
33 cleanup
34
35 if [ $SUCCESS == 0 ]; then
36 echo PASS
37 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698