Thread (32 messages) flat view 32 messages, 5 authors, 2016-08-13

Re: [PATCHv6 15/16] Add missing &&'s throughout the testsuite

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:41

Elijah Newren wrote:
quoted
On Sun, Oct 3, 2010 at 8:46 AM, Jonathan Nieder [off-list ref] wrote:
quoted
quoted
quoted
--- a/t/t1509-root-worktree.sh
+++ b/t/t1509-root-worktree.sh
@@ -232,8 +232,8 @@ say "auto bare gitdir"

 # DESTROYYYYY!!!!!
 test_expect_success 'setup' '
-     rm -rf /refs /objects /info /hooks
-     rm /*
+     rm -rf /refs /objects /info /hooks &&
+     rm /* &&
[...]
quoted
How about replacing the two rm commands with a simple 'rm -rf /*'?
Umm, won't that delete _everything_, including git?

I would suggest just leaving the test alone and contacting the test
author or adding a comment unless you can test the change.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help