Thread (4 messages) 4 messages, 1 author, 2023-05-07
STALE1137d
Revisions (11)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 [diff vs current]
  7. v7 [diff vs current]
  8. v8 [diff vs current]
  9. v9 [diff vs current]
  10. v10 current
  11. v10 [diff vs current]

[PATCH v10 2/8] t2400: cleanup created worktree in test

From: Jacob Abel <hidden>
Date: 2023-05-07 12:06:36
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Jacob Abel <redacted>
---
 t/t2400-worktree-add.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/t/t2400-worktree-add.sh b/t/t2400-worktree-add.sh
index d587e0b20d..a3f108347a 100755
--- a/t/t2400-worktree-add.sh
+++ b/t/t2400-worktree-add.sh
@@ -326,6 +326,7 @@ test_expect_success 'add -B' '
 '

 test_expect_success 'add --quiet' '
+	test_when_finished "git worktree remove -f -f another-worktree" &&
 	git worktree add --quiet another-worktree main 2>actual &&
 	test_must_be_empty actual
 '
--
2.39.3

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help