git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yann Dirson <ydirson@altern.org>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: git@vger.kernel.org
Subject: [PATCH 2/2] Demonstrate issue #8732.
Date: Wed, 14 Mar 2007 22:35:04 +0100	[thread overview]
Message-ID: <20070314213504.13492.82355.stgit@gandelf.nowhere.earth> (raw)
In-Reply-To: <20070314213020.13492.24840.stgit@gandelf.nowhere.earth>




Signed-off-by: Yann Dirson <ydirson@altern.org>
---

 t/t1003-branch-delete.sh |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/t/t1003-branch-delete.sh b/t/t1003-branch-delete.sh
index 8625cc5..a5c486e 100755
--- a/t/t1003-branch-delete.sh
+++ b/t/t1003-branch-delete.sh
@@ -37,4 +37,17 @@ test_expect_failure \
     'Check the deleted branch is gone' \
     'git rev-parse b~0'
 
+
+test_expect_success \
+    'Create a new stack named "master"' \
+    'stg branch --create master'
+
+test_expect_success \
+    'Delete the "master" branch' \
+    'stg branch --delete master'
+
+test_expect_failure \
+    'Check the deleted "master" branch is gone' \
+    'git rev-parse master~0'
+
 test_done

      parent reply	other threads:[~2007-03-14 21:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 21:34 [PATCH 0/2] StGit testcases for new issues Yann Dirson
2007-03-14 21:34 ` [PATCH 1/2] Demonstrate issue #8733 Yann Dirson
2007-03-14 21:35 ` Yann Dirson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070314213504.13492.82355.stgit@gandelf.nowhere.earth \
    --to=ydirson@altern.org \
    --cc=catalin.marinas@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).