From f3cc160f0c5b5359fe359831b01ed09c7cc08602 Mon Sep 17 00:00:00 2001 From: stip Date: Thu, 22 Sep 2016 17:37:08 -0700 Subject: [PATCH] Delete unneeded test. Follow-up to https://codereview.chromium.org/2352393003. Note that a lot of these tests seem svn related, and can probably be deleted. I defer to to agable@ on what we can carve out here. BUG= R=agable@chromium.org Review-Url: https://codereview.chromium.org/2360113002 --- tests/upstream.sh | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 tests/upstream.sh diff --git a/tests/upstream.sh b/tests/upstream.sh deleted file mode 100755 index 8c91ebfe9..000000000 --- a/tests/upstream.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2012 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# Check guessing the svn upstream branch. - -set -e - -. ./test-lib.sh - -setup_initsvn -setup_gitsvn - -( - set -e - cd git-svn - - git config rietveld.server localhost:10000 - - for ref in refs/remotes/origin/trunk refs/remotes/origin/some_branch; do - git branch -f --set-upstream feature_branch $ref - git checkout -q feature_branch - test_expect_success "Guessing upstream branch for $ref" \ - "$GIT_CL upstream | egrep -q '^$ref$'" - git checkout -q master - done -) - -SUCCESS=$? - -cleanup - -if [ $SUCCESS == 0 ]; then - echo PASS -fi