{"thread":{"id":"9490","subject":"[PATCH] Fix t5701-clone-local for white space from wc","startedAt":"2007-08-11T19:24:29Z","lastAt":"2007-08-13T23:47:55Z","messageCount":2,"participants":["Brian Gernhardt","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"50492","messageId":"20070811192429.GA10142@Hermes.local","threadId":"9490","inReplyTo":null,"subject":"[PATCH] Fix t5701-clone-local for white space from wc","fromName":"Brian Gernhardt","fromEmail":"benji@silverinsanity.com","sentAt":"2007-08-11T19:24:29Z","receivedAt":"2007-08-11T19:24:29Z","isPatch":true,"sender":{"key":"benji@silverinsanity.com","avatar":"https://gravatar.com/avatar/e06c101dbc25c68114d859b4a9ec7cf8a2c52fd2b0270ef0eac0e2e63ff22311?d=mp&s=160"},"body":"Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>\n---\n\n Once again the fact that OS X's wc outputs \"   0\" instead of \"0\" breaks\n tests.\n\n t/t5701-clone-local.sh |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/t/t5701-clone-local.sh b/t/t5701-clone-local.sh\nindex a3026ec..56f9d8a 100755\n--- a/t/t5701-clone-local.sh\n+++ b/t/t5701-clone-local.sh\n@@ -48,7 +48,7 @@ test_expect_success 'With -no-hardlinks, local will make a copy' '\n \tgit clone --bare --no-hardlinks x w &&\n \tcd w &&\n \tlinked=$(find objects -type f ! -links 1 | wc -l) &&\n-\ttest \"$linked\" = 0\n+\ttest 0 = $linked\n '\n \n test_expect_success 'Even without -l, local will make a hardlink' '\n@@ -57,7 +57,7 @@ test_expect_success 'Even without -l, local will make a hardlink' '\n \tgit clone -l --bare x w &&\n \tcd w &&\n \tcopied=$(find objects -type f -links 1 | wc -l) &&\n-\ttest \"$copied\" = 0\n+\ttest 0 = $copied\n '\n \n test_done\n-- \n1.5.3.rc4.67.gf9286-dirty\n"},{"id":"50667","messageId":"7v3aynf13o.fsf@assigned-by-dhcp.cox.net","threadId":"9490","inReplyTo":"20070811192429.GA10142@Hermes.local","subject":"Re: [PATCH] Fix t5701-clone-local for white space from wc","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-08-13T23:47:55Z","receivedAt":"2007-08-13T23:47:55Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}