git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] Demonstrate issue #8732.

From
Yann Dirson <ydirson@altern.org>
Date
Mar 14, 2007, 21:35 UTC
Message-ID
<20070314213504.13492.82355.stgit@gandelf.nowhere.earth>
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
Previous: Yann Dirson
Message 3 of 3 in “StGit testcases for new issues”
  1. 0/2 StGit testcases for new issuesYann Dirson, Mar 14, 2007
  2. 1/2 Demonstrate issue #8733.Yann Dirson, Mar 14, 2007
  3. 2/2 Demonstrate issue #8732.Yann Dirson, Mar 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.