| Index: tests/abandon.sh
|
| diff --git a/tests/abandon.sh b/tests/abandon.sh
|
| deleted file mode 100755
|
| index b964059b0cd6ac9d7f3a8c151b2b57396a71627b..0000000000000000000000000000000000000000
|
| --- a/tests/abandon.sh
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -#!/bin/bash
|
| -
|
| -# Check that abandoning a branch also abandons its issue.
|
| -
|
| -set -e
|
| -
|
| -. ./test-lib.sh
|
| -
|
| -setup_initsvn
|
| -setup_gitsvn
|
| -
|
| -(
|
| - set -e
|
| - cd git-svn
|
| - git config rietveld.server localhost:8080
|
| -
|
| - # Create a branch and give it an issue.
|
| - git checkout -q -b abandoned
|
| - echo "some work done on a branch" >> test
|
| - git add test; git commit -q -m "branch work"
|
| - export EDITOR=/bin/true
|
| - test_expect_success "upload succeeds" \
|
| - "$GIT_CL upload -m test master... | grep -q 'Issue created'"
|
| -
|
| - # Switch back to master, delete the branch.
|
| - git checkout master
|
| - git branch -D abandoned
|
| -
|
| - # Verify that "status" doesn't know about it anymore.
|
| - # The "exit" trickiness is inverting the exit status of grep.
|
| - test_expect_success "git-cl status dropped abandoned branch" \
|
| - "$GIT_CL status | grep -q abandoned && exit 1 || exit 0"
|
| -)
|
| -
|
| -SUCCESS=$?
|
| -
|
| -cleanup
|
| -
|
| -if [ $SUCCESS == 0 ]; then
|
| - echo PASS
|
| -fi
|
|
|