Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Introduce receive.denyDeletes

From: Jan Krüger <hidden>
Date: 2016-06-15 22:45:33

On Thu, 30 Oct 2008 11:32:10 -0700, "Shawn O. Pearce"
[off-list ref] wrote:
quoted
 test_expect_success \
[snip]
+	git send-pack ./victim/.git/ :extra master && return 1
Hmm, that should be:

  test_must_fail git send-pack ./victim/.git/ :extra master
Can I then delete the branch afterwards without lots of juggling (in
case the test fails due to a random other reason that the branch
accidentally getting deleted by receive-pack)? I'd expect I'd have to
save the exit code to a temporary variable and that's just as ugly.

Disclaimer: I sort of just hacked the test case together by stringing
together pieces of existing test code, so I don't presume full
understanding of the test framework.

By the way, I love what your mail client did to my name.

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