{"thread":{"id":"34017","subject":"t4015 broken on pu","startedAt":"2013-06-03T19:01:45Z","lastAt":"2013-06-03T19:11:38Z","messageCount":3,"participants":["Torsten Bögershausen","Antoine Pelisse","Lukas Fleischer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"219276","messageId":"51ACE819.3010704@web.de","threadId":"34017","inReplyTo":null,"subject":"t4015 broken on pu","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2013-06-03T19:01:45Z","receivedAt":"2013-06-03T19:01:45Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"The new 4015 does not pass under Mac OS:\n\na) The seq command, does not exits (we can use printf)\nb) One sed expression is not understood, sed exporst needed ;-)\n\n\n\n\n git diff\ndiff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh\nindex b3c4fcc..f00d20b 100755\n--- a/t/t4015-diff-whitespace.sh\n+++ b/t/t4015-diff-whitespace.sh\n@@ -143,18 +143,18 @@ git diff --ignore-space-at-eol > out\n test_expect_success 'another test, with --ignore-space-at-eol' 'test_cmp expect out'\n \n test_expect_success 'ignore-blank-lines: only new lines' '\n-       seq 5 >x &&\n+       printf \"1\\n2\\n3\\n4\\n5\\n\" >x &&\n        git update-index x &&\n-       seq 5 | sed \"/3/i \\\\\\\\\" >x &&\n+       printf \"1\\n2\\n3\\n4\\n5\\n\" | sed \"/3/i \\\\\\\\\" >x &&\n        git diff --ignore-blank-lines >out &&\n        printf \"\" >expect &&\n        test_cmp out expect\n '\n \n test_expect_success 'ignore-blank-lines: only new lines with space' '\n-       seq 5 >x &&\n+       printf \"1\\n2\\n3\\n4\\n5\\n\" >x &&\n        git update-index x &&\n-       seq 5 | sed \"/3/i \\ \" >x &&\n+       printf \"1\\n2\\n3\\n4\\n5\\n\" | sed \"/3/i \\ \" >x &&\n        git diff -w --ignore-blank-lines >out &&\n        printf \"\" >expect &&\n        test_cmp out expect\n@@ -162,7 +162,7 @@ test_expect_success 'ignore-blank-lines: only new lines with space' '\n \n \n test_expect_success 'ignore-blank-lines: with changes' '\n-       seq 11 >x &&\n+       printf \"1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9\\n10\\n11\\n\" >x &&\n        git update-index x &&\n        cat <<-\\EOF >x &&\n\n================================\nAfter that, TC 12 fails:\n================================\nok 11 - another test, with --ignore-space-at-eol\n\nexpecting success: \n        printf \"1\\n2\\n3\\n4\\n5\\n\" >x &&\n        git update-index x &&\n        printf \"1\\n2\\n3\\n4\\n5\\n\" | sed \"/3/i \\\\\\\\\" >x &&\n        git diff --ignore-blank-lines >out &&\n        printf \"\" >expect &&\n        test_cmp out expect\n\nsed: 1: \"/3/i \\\\\": extra characters after \\ at the end of i command\nnot ok 12 - ignore-blank-lines: only new lines\n"},{"id":"219277","messageId":"CALWbr2zVtECm0sZWPHXy005fuhnyvey3Nnqk1Ph73s1koczQOA@mail.gmail.com","threadId":"34017","inReplyTo":"51ACE819.3010704@web.de","subject":"Re: t4015 broken on pu","fromName":"Antoine Pelisse","fromEmail":"apelisse@gmail.com","sentAt":"2013-06-03T19:07:48Z","receivedAt":"2013-06-03T19:07:48Z","isPatch":false,"sender":{"key":"apelisse@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1929644?v=4"},"body":"On Mon, Jun 3, 2013 at 9:01 PM, Torsten Bögershausen <tboegi@web.de> wrote:\n> The new 4015 does not pass under Mac OS:\n>\n> a) The seq command, does not exits (we can use printf)\n\nI was planning to reroll with test_seq instead of seq, as advised by\nJohannes Sixt.\n\n> b) One sed expression is not understood, sed exporst needed ;-)\n\nThanks, I will fix sed also in next reroll !\n"},{"id":"219278","messageId":"20130603191138.GA16172@blizzard","threadId":"34017","inReplyTo":"51ACE819.3010704@web.de","subject":"Re: t4015 broken on pu","fromName":"Lukas Fleischer","fromEmail":"git@cryptocrack.de","sentAt":"2013-06-03T19:11:38Z","receivedAt":"2013-06-03T19:11:38Z","isPatch":false,"sender":{"key":"git@cryptocrack.de","avatar":null},"body":"On Mon, Jun 03, 2013 at 09:01:45PM +0200, Torsten Bögershausen wrote:\n> The new 4015 does not pass under Mac OS:\n> \n> a) The seq command, does not exits (we can use printf)\n> [...]\n> diff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh\n> index b3c4fcc..f00d20b 100755\n> --- a/t/t4015-diff-whitespace.sh\n> +++ b/t/t4015-diff-whitespace.sh\n> @@ -143,18 +143,18 @@ git diff --ignore-space-at-eol > out\n>  test_expect_success 'another test, with --ignore-space-at-eol' 'test_cmp expect out'\n>  \n>  test_expect_success 'ignore-blank-lines: only new lines' '\n> -       seq 5 >x &&\n> +       printf \"1\\n2\\n3\\n4\\n5\\n\" >x &&\n\nI'd rather use test_seq here.\n\n>         git update-index x &&\n> -       seq 5 | sed \"/3/i \\\\\\\\\" >x &&\n> +       printf \"1\\n2\\n3\\n4\\n5\\n\" | sed \"/3/i \\\\\\\\\" >x &&\n>         git diff --ignore-blank-lines >out &&\n> [...]\n"}]}