{"thread":{"id":"18206","subject":"git-t4034-diff-words.sh.prb","startedAt":"2009-03-07T21:47:31Z","lastAt":"2009-03-07T21:47:31Z","messageCount":1,"participants":["Boyd Lynn Gerber"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"107350","messageId":"alpine.LNX.2.00.0903071446030.2164@suse104.zenez.com","threadId":"18206","inReplyTo":null,"subject":"git-t4034-diff-words.sh.prb","fromName":"Boyd Lynn Gerber","fromEmail":"gerberb@zenez.com","sentAt":"2009-03-07T21:47:31Z","receivedAt":"2009-03-07T21:47:31Z","isPatch":false,"sender":{"key":"gerberb@zenez.com","avatar":null},"body":"Here are the test failures using set -x for git-t4032-diff-words.sh\n\n-- \nBoyd Gerber <gerberb@zenez.com> 801 849-0213\nZENEZ\t1042 East Fort Union #135, Midvale Utah  84047\n\n$ bash ./t4034-diff-words.sh\n+ test_description='word diff colors'\n+ . ./test-lib.sh\n++ ORIGINAL_TERM=xterm\n++ LANG=C\n++ LC_ALL=C\n++ PAGER=cat\n++ TZ=UTC\n++ TERM=dumb\n++ export LANG LC_ALL PAGER TERM TZ\n++ EDITOR=:\n++ VISUAL=:\n++ unset GIT_EDITOR\n++ unset AUTHOR_DATE\n++ unset AUTHOR_EMAIL\n++ unset AUTHOR_NAME\n++ unset COMMIT_AUTHOR_EMAIL\n++ unset COMMIT_AUTHOR_NAME\n++ unset EMAIL\n++ unset GIT_ALTERNATE_OBJECT_DIRECTORIES\n++ unset GIT_AUTHOR_DATE\n++ GIT_AUTHOR_EMAIL=author@example.com\n++ GIT_AUTHOR_NAME='A U Thor'\n++ unset GIT_COMMITTER_DATE\n++ GIT_COMMITTER_EMAIL=committer@example.com\n++ GIT_COMMITTER_NAME='C O Mitter'\n++ unset GIT_DIFF_OPTS\n++ unset GIT_DIR\n++ unset GIT_WORK_TREE\n++ unset GIT_EXTERNAL_DIFF\n++ unset GIT_INDEX_FILE\n++ unset GIT_OBJECT_DIRECTORY\n++ unset GIT_CEILING_DIRECTORIES\n++ unset SHA1_FILE_DIRECTORIES\n++ unset SHA1_FILE_DIRECTORY\n++ GIT_MERGE_VERBOSITY=5\n++ export GIT_MERGE_VERBOSITY\n++ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME\n++ export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME\n++ export EDITOR VISUAL\n++ GIT_TEST_CMP='diff -u'\n++ unset CDPATH\n++ case $(echo $GIT_TRACE |tr \"[A-Z]\" \"[a-z]\") in\n+++ echo\n+++ tr '[A-Z]' '[a-z]'\n++ '[' xxterm '!=' xdumb ']'\n++ TERM=xterm\n++ export TERM\n++ '[' -t 1 ']'\n++ tput bold\n++ tput setaf 1\n++ test 0 -ne 0\n++ test -n ''\n++ test 'word diff colors' '!=' ''\n++ test '' = t\n++ exec\n++ test '' = t\n++ exec\n++ test_failure=0\n++ test_count=0\n++ test_fixed=0\n++ test_broken=0\n++ test_success=0\n++ trap die EXIT\n+++ pwd\n++ TEST_DIRECTORY=/tmp/git-1.6.2/t\n++ PATH=/tmp/git-1.6.2/t/..:/usr/local/bin:/usr/gnu/bin:/home/gerberb/bin:/usr/bin:/bin:/sbin:/usr/sbin:/etc:/usr/X11R6/bin\n+++ pwd\n++ GIT_EXEC_PATH=/tmp/git-1.6.2/t/..\n+++ pwd\n++ GIT_TEMPLATE_DIR=/tmp/git-1.6.2/t/../templates/blt\n++ unset GIT_CONFIG\n++ GIT_CONFIG_NOSYSTEM=1\n++ GIT_CONFIG_NOGLOBAL=1\n++ export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOBAL\n+++ pwd\n+++ pwd\n++ GITPERLLIB=/tmp/git-1.6.2/t/../perl/blib/lib:/tmp/git-1.6.2/t/../perl/blib/arch/auto/Git\n++ export GITPERLLIB\n++ test -d ../templates/blt\n++ test -x ../test-chmtime\n++ . ../GIT-BUILD-OPTIONS\n+++ SHELL_PATH=/usr/bin/bash\n+++ TAR=gtar\n+++ basename ./t4034-diff-words.sh .sh\n++ test='trash directory.t4034-diff-words'\n++ test '!' -z ''\n++ remove_trash='/tmp/git-1.6.2/t/trash directory.t4034-diff-words'\n++ rm -fr 'trash directory.t4034-diff-words'\n++ test_create_repo 'trash directory.t4034-diff-words'\n++ test 1 = 1\n+++ pwd\n++ owd=/tmp/git-1.6.2/t\n++ repo='trash directory.t4034-diff-words'\n++ mkdir -p 'trash directory.t4034-diff-words'\n++ cd 'trash directory.t4034-diff-words'\n++ /tmp/git-1.6.2/t/../git init --template=/tmp/git-1.6.2/t/../templates/blt/\n++ mv .git/hooks .git/hooks-disabled\n++ cd /tmp/git-1.6.2/t\n++ cd -P 'trash directory.t4034-diff-words'\n+++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n++ this_test=t4034\n+ test_expect_success setup '\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ test 2 = 2\n+ test_skip setup '\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 0 + 1\n+ this_test=t4034.1\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ say_color info 'expecting success:\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ test_run_ '\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ eval '\n\n         git config diff.color.old red\n         git config diff.color.new green\n\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ setup\n++ expr 0 + 1\n+ test_count=1\n++ expr 0 + 1\n+ test_success=1\n+ say_color '' '  ok 1: setup'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 1: setup'\n*   ok 1: setup\n+ echo ''\n+ cat\n+ cat\n+ cat\n+ test_expect_success 'word diff with runs of whitespace' '\n\n         word_diff --color-words\n\n'\n+ test 2 = 2\n+ test_skip 'word diff with runs of whitespace' '\n\n         word_diff --color-words\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 1 + 1\n+ this_test=t4034.2\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words\n\n'\n+ test_run_ '\n\n         word_diff --color-words\n\n'\n+ eval '\n\n         word_diff --color-words\n\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'word diff with runs of whitespace'\n++ expr 1 + 1\n+ test_count=2\n++ expr 1 + 1\n+ test_success=2\n+ say_color '' '  ok 2: word diff with runs of whitespace'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 2: word diff with runs of whitespace'\n*   ok 2: word diff with runs of whitespace\n+ echo ''\n+ cat\n+ cp expect expect.letter-runs-are-words\n+ test_expect_success 'word diff with a regular expression' '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test 2 = 2\n+ test_skip 'word diff with a regular expression' '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 2 + 1\n+ this_test=t4034.3\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test_run_ '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ eval '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'word diff with a regular expression'\n++ expr 2 + 1\n+ test_count=3\n++ expr 2 + 1\n+ test_success=3\n+ say_color '' '  ok 3: word diff with a regular expression'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 3: word diff with a regular expression'\n*   ok 3: word diff with a regular expression\n+ echo ''\n+ test_expect_success 'set a diff driver' '\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ test 2 = 2\n+ test_skip 'set a diff driver' '\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 3 + 1\n+ this_test=t4034.4\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ say_color info 'expecting success:\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ test_run_ '\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ eval '\n         git config diff.testdriver.wordRegex \"[^[:space:]]\" &&\n         cat <<EOF > .gitattributes\npre diff=testdriver\npost diff=testdriver\nEOF\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'set a diff driver'\n++ expr 3 + 1\n+ test_count=4\n++ expr 3 + 1\n+ test_success=4\n+ say_color '' '  ok 4: set a diff driver'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 4: set a diff driver'\n*   ok 4: set a diff driver\n+ echo ''\n+ test_expect_success 'option overrides .gitattributes' '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test 2 = 2\n+ test_skip 'option overrides .gitattributes' '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 4 + 1\n+ this_test=t4034.5\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ test_run_ '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ eval '\n\n         word_diff --color-words=\"[a-z]+\"\n\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'option overrides .gitattributes'\n++ expr 4 + 1\n+ test_count=5\n++ expr 4 + 1\n+ test_success=5\n+ say_color '' '  ok 5: option overrides .gitattributes'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 5: option overrides .gitattributes'\n*   ok 5: option overrides .gitattributes\n+ echo ''\n+ cat\n+ cp expect expect.non-whitespace-is-word\n+ test_expect_success 'use regex supplied by driver' '\n\n         word_diff --color-words\n\n'\n+ test 2 = 2\n+ test_skip 'use regex supplied by driver' '\n\n         word_diff --color-words\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 5 + 1\n+ this_test=t4034.6\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words\n\n'\n+ test_run_ '\n\n         word_diff --color-words\n\n'\n+ eval '\n\n         word_diff --color-words\n\n'\n+ eval_ret=2\n+ return 0\n+ '[' 0 = 0 -a 2 = 0 ']'\n+ test_failure_ 'use regex supplied by driver' '\n\n         word_diff --color-words\n\n'\n++ expr 5 + 1\n+ test_count=6\n++ expr 0 + 1\n+ test_failure=1\n+ say_color error 'FAIL 6: use regex supplied by driver'\n+ test -z error\n+ shift\n+ echo '* FAIL 6: use regex supplied by driver'\n* FAIL 6: use regex supplied by driver\n+ shift\n+ echo '\n\n         word_diff --color-words\n\n'\n+ sed -e 's/^/  /'\n\n\n                 word_diff --color-words\n\n\n+ test '' = ''\n+ echo ''\n+ test_expect_success 'set diff.wordRegex option' '\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ test 2 = 2\n+ test_skip 'set diff.wordRegex option' '\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 6 + 1\n+ this_test=t4034.7\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ say_color info 'expecting success:\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ test_run_ '\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ eval '\n         git config diff.wordRegex \"[[:alnum:]]+\"\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'set diff.wordRegex option'\n++ expr 6 + 1\n+ test_count=7\n++ expr 5 + 1\n+ test_success=6\n+ say_color '' '  ok 7: set diff.wordRegex option'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 7: set diff.wordRegex option'\n*   ok 7: set diff.wordRegex option\n+ echo ''\n+ cp expect.letter-runs-are-words expect\n+ test_expect_success 'command-line overrides config' '\n         word_diff --color-words=\"[a-z]+\"\n'\n+ test 2 = 2\n+ test_skip 'command-line overrides config' '\n         word_diff --color-words=\"[a-z]+\"\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 7 + 1\n+ this_test=t4034.8\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         word_diff --color-words=\"[a-z]+\"\n'\n+ say_color info 'expecting success:\n         word_diff --color-words=\"[a-z]+\"\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         word_diff --color-words=\"[a-z]+\"\n'\n+ test_run_ '\n         word_diff --color-words=\"[a-z]+\"\n'\n+ eval '\n         word_diff --color-words=\"[a-z]+\"\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'command-line overrides config'\n++ expr 7 + 1\n+ test_count=8\n++ expr 6 + 1\n+ test_success=7\n+ say_color '' '  ok 8: command-line overrides config'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 8: command-line overrides config'\n*   ok 8: command-line overrides config\n+ echo ''\n+ cp expect.non-whitespace-is-word expect\n+ test_expect_success '.gitattributes override config' '\n         word_diff --color-words\n'\n+ test 2 = 2\n+ test_skip '.gitattributes override config' '\n         word_diff --color-words\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 8 + 1\n+ this_test=t4034.9\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         word_diff --color-words\n'\n+ say_color info 'expecting success:\n         word_diff --color-words\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         word_diff --color-words\n'\n+ test_run_ '\n         word_diff --color-words\n'\n+ eval '\n         word_diff --color-words\n'\n+ eval_ret=2\n+ return 0\n+ '[' 0 = 0 -a 2 = 0 ']'\n+ test_failure_ '.gitattributes override config' '\n         word_diff --color-words\n'\n++ expr 8 + 1\n+ test_count=9\n++ expr 1 + 1\n+ test_failure=2\n+ say_color error 'FAIL 9: .gitattributes override config'\n+ test -z error\n+ shift\n+ echo '* FAIL 9: .gitattributes override config'\n* FAIL 9: .gitattributes override config\n+ shift\n+ echo '\n         word_diff --color-words\n'\n+ sed -e 's/^/  /'\n\n                 word_diff --color-words\n\n+ test '' = ''\n+ echo ''\n+ test_expect_success 'remove diff driver regex' '\n         git config --unset diff.testdriver.wordRegex\n'\n+ test 2 = 2\n+ test_skip 'remove diff driver regex' '\n         git config --unset diff.testdriver.wordRegex\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 9 + 1\n+ this_test=t4034.10\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         git config --unset diff.testdriver.wordRegex\n'\n+ say_color info 'expecting success:\n         git config --unset diff.testdriver.wordRegex\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         git config --unset diff.testdriver.wordRegex\n'\n+ test_run_ '\n         git config --unset diff.testdriver.wordRegex\n'\n+ eval '\n         git config --unset diff.testdriver.wordRegex\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'remove diff driver regex'\n++ expr 9 + 1\n+ test_count=10\n++ expr 7 + 1\n+ test_success=8\n+ say_color '' '  ok 10: remove diff driver regex'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 10: remove diff driver regex'\n*   ok 10: remove diff driver regex\n+ echo ''\n+ cat\n+ test_expect_success 'use configured regex' '\n         word_diff --color-words\n'\n+ test 2 = 2\n+ test_skip 'use configured regex' '\n         word_diff --color-words\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 10 + 1\n+ this_test=t4034.11\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n         word_diff --color-words\n'\n+ say_color info 'expecting success:\n         word_diff --color-words\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n         word_diff --color-words\n'\n+ test_run_ '\n         word_diff --color-words\n'\n+ eval '\n         word_diff --color-words\n'\n+ eval_ret=0\n+ return 0\n+ '[' 0 = 0 -a 0 = 0 ']'\n+ test_ok_ 'use configured regex'\n++ expr 10 + 1\n+ test_count=11\n++ expr 8 + 1\n+ test_success=9\n+ say_color '' '  ok 11: use configured regex'\n+ test -z ''\n+ test -n ''\n+ shift\n+ echo '*   ok 11: use configured regex'\n*   ok 11: use configured regex\n+ echo ''\n+ echo 'aaa (aaa)'\n+ echo 'aaa (aaa) aaa'\n+ cat\n+ test_expect_success 'test parsing words for newline' '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ test 2 = 2\n+ test_skip 'test parsing words for newline' '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 11 + 1\n+ this_test=t4034.12\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ test_run_ '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ eval '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ eval_ret=2\n+ return 0\n+ '[' 0 = 0 -a 2 = 0 ']'\n+ test_failure_ 'test parsing words for newline' '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n++ expr 11 + 1\n+ test_count=12\n++ expr 2 + 1\n+ test_failure=3\n+ say_color error 'FAIL 12: test parsing words for newline'\n+ test -z error\n+ shift\n+ echo '* FAIL 12: test parsing words for newline'\n* FAIL 12: test parsing words for newline\n+ shift\n+ echo '\n\n         word_diff --color-words=\"a+\"\n\n\n'\n+ sed -e 's/^/  /'\n\n\n                 word_diff --color-words=\"a+\"\n\n\n\n+ test '' = ''\n+ echo ''\n+ echo '(:'\n+ echo '('\n+ cat\n+ test_expect_success 'test when words are only removed at the end' '\n\n         word_diff --color-words=.\n\n'\n+ test 2 = 2\n+ test_skip 'test when words are only removed at the end' '\n\n         word_diff --color-words=.\n\n'\n++ expr ././t4034-diff-words.sh : '.*/\\(t[0-9]*\\)-[^/]*$'\n+ this_test=t4034\n++ expr 12 + 1\n+ this_test=t4034.13\n+ to_skip=\n+ case \"$to_skip\" in\n+ false\n+ say 'expecting success:\n\n         word_diff --color-words=.\n\n'\n+ say_color info 'expecting success:\n\n         word_diff --color-words=.\n\n'\n+ test -z info\n+ shift\n+ echo '* expecting success:\n\n         word_diff --color-words=.\n\n'\n+ test_run_ '\n\n         word_diff --color-words=.\n\n'\n+ eval '\n\n         word_diff --color-words=.\n\n'\n+ eval_ret=2\n+ return 0\n+ '[' 0 = 0 -a 2 = 0 ']'\n+ test_failure_ 'test when words are only removed at the end' '\n\n         word_diff --color-words=.\n\n'\n++ expr 12 + 1\n+ test_count=13\n++ expr 3 + 1\n+ test_failure=4\n+ say_color error 'FAIL 13: test when words are only removed at the end'\n+ test -z error\n+ shift\n+ echo '* FAIL 13: test when words are only removed at the end'\n* FAIL 13: test when words are only removed at the end\n+ shift\n+ echo '\n\n         word_diff --color-words=.\n\n'+ sed -e 's/^/ /'\n\n\n\n                 word_diff --color-words=.\n\n\n+ test '' = ''\n+ echo ''\n+ test_done\n+ trap - EXIT\n+ test_results_dir=/tmp/git-1.6.2/t/test-results\n+ mkdir -p /tmp/git-1.6.2/t/test-results\n+ test_results_path=/tmp/git-1.6.2/t/test-results/./t4034-diff-21979\n+ echo 'total 13'\n+ echo 'success 9'\n+ echo 'fixed 0'\n+ echo 'broken 0'\n+ echo 'failed 4'\n+ echo ''\n+ test 0 '!=' 0\n+ test 0 '!=' 0\n+ msg='13 test(s)'\n+ case \"$test_failure\" in\n+ say_color error 'failed 4 among 13 test(s)'\n+ test -z error\n+ shift\n+ echo '* failed 4 among 13 test(s)'\n* failed 4 among 13 test(s)\n+ exit 1\n"}]}