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

Unified Diff: tests/post-dcommit-hook-test.sh

Issue 2394033003: Remove SVN (and dcommit) support from git-cl (Closed)
Patch Set: Rebase Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/patch.sh ('k') | tests/post-land-hook-test.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/post-dcommit-hook-test.sh
diff --git a/tests/post-dcommit-hook-test.sh b/tests/post-dcommit-hook-test.sh
deleted file mode 100755
index 5ecb653fe30a8b6bba6ee3dc289b36957e2c6901..0000000000000000000000000000000000000000
--- a/tests/post-dcommit-hook-test.sh
+++ /dev/null
@@ -1,42 +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.
-
-set -e
-
-. ./test-lib.sh
-
-setup_initsvn
-setup_gitsvn
-
-(
- set -e
- cd git-svn
-
- cat > .git/hooks/post-cl-dcommit << _EOF
-#!/usr/bin/env bash
-git branch -m COMMITTED
-_EOF
- chmod +x .git/hooks/post-cl-dcommit
-
- git config rietveld.server localhost:1
- git checkout -q --track -b work
- echo "some work done" >> test
- git add test; git commit -q -m "work \
-TBR=foo"
-
- test_expect_success "dcommitted code" \
- "$GIT_CL dcommit --no-oauth2 -f --bypass-hooks -m 'dcommit'"
-
- test_expect_success "post-cl-dcommit hook executed" \
- "git symbolic-ref HEAD | grep -q COMMITTED"
-)
-SUCCESS=$?
-
-cleanup
-
-if [ $SUCCESS == 0 ]; then
- echo PASS
-fi
« no previous file with comments | « tests/patch.sh ('k') | tests/post-land-hook-test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698