{"thread":{"id":"36002","subject":"t9200 cvsexportcommit test fails on Ubuntu server 12.04.4 LTS","startedAt":"2014-02-28T18:45:07Z","lastAt":"2014-03-01T10:09:57Z","messageCount":3,"participants":["Fabio D'Alfonso","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"235658","messageId":"5310D933.1@fabiodalfonso.com","threadId":"36002","inReplyTo":null,"subject":"t9200 cvsexportcommit test fails on Ubuntu server 12.04.4 LTS","fromName":"Fabio D'Alfonso","fromEmail":"fabio.dalfonso@fabiodalfonso.com","sentAt":"2014-02-28T18:45:07Z","receivedAt":"2014-02-28T18:45:07Z","isPatch":false,"sender":{"key":"fabio.dalfonso@fabiodalfonso.com","avatar":"https://gravatar.com/avatar/eb4e8a7c7e494ea00c7a9661b1fcb25717e218e9138b5ff05e459c96d43825f5?d=mp&s=160"},"body":"Hi,\nI get 12 of 15 tests faling.\n\nAny idea? the same build works fine on 11.04 where I have a desktop version.\n\nThanks\n\n\nnot ok 1 - New file\n#    mkdir A B C D E F &&\n#         echo hello1 >A/newfile1.txt &&\n#         echo hello2 >B/newfile2.txt &&\n#         cp \"$TEST_DIRECTORY\"/test-binary-\n1.png C/newfile3.png &&\n#         cp \"$TEST_DIRECTORY\"/test-binary-1.png D/newfile4.png &&\n#         git add A/newfile1.txt &&\n#         git add B/newfile2.txt &&\n#         git add C/newfile3.png &&\n#         git add D/newfile4.png &&\n#         git commit -a -m \"Test: New file\" &&\n#         id=$(git rev-list --max-count=1 HEAD) &&\n#         (cd \"$CVSWORK\" &&\n#         git cvsexportcommit -c $id &&\n#         check_entries A \"newfile1.txt/1.1/\" &&\n#         check_entries B \"newfile2.txt/1.1/\" &&\n#         check_entries C \"newfile3.png/1.1/-kb\" &&\n#         check_entries D \"newfile4.png/1.1/-kb\" &&\n#         test_cmp A/newfile1.txt ../A/newfile1.txt &&\n#         test_cmp B/newfile2.txt ../B/newfile2.txt &&\n#         test_cmp C/newfile3.png ../C/newfile3.png &&\n#         test_cmp D/newfile4.png ../D/newfile4.png\n#         )\nnot ok 2 - Remove two files, add two and update two\n#    echo Hello1 >>A/newfile1.txt &&\n#         rm -f B/newfile2.txt &&\n#         rm -f C/newfile3.png &&\n#         echo Hello5  >E/newfile5.txt &&\n#         cp \"$TEST_DIRECTORY\"/test-binary-2.png D/newfile4.png &&\n#         cp \"$TEST_DIRECTORY\"/test-binary-1.png F/newfile6.png &&\n#         git add E/newfile5.txt &&\n#         git add F/newfile6.png &&\n#         git commit -a -m \"Test: Remove, add and update\" &&\n#         id=$(git rev-list --max-count=1 HEAD) &&\n#         (cd \"$CVSWORK\" &&\n#         git cvsexportcommit -c $id &&\n#         check_entries A \"newfile1.txt/1.2/\" &&\n#         check_entries B \"\" &&\n#         check_entries C \"\" &&\n#         check_entries D \"newfile4.png/1.2/-kb\" &&\n#         check_entries E \"newfile5.txt/1.1/\" &&\n#         check_entries F \"newfile6.png/1.1/-kb\" &&\n#         test_cmp A/newfile1.txt ../A/newfile1.txt &&\n#         test_cmp D/newfile4.png ../D/newfile4.png &&\n#         test_cmp E/newfile5.txt ../E/newfile5.txt &&\n#         test_cmp F/newfile6.png ../F/newfile6.png\n#         )\nok 3 - Fail to change binary more than one generation old\nnot ok 4 - Remove only binary files\n#    git reset --hard HEAD^^ &&\n#         rm -f D/newfile4.png &&\n#         git commit -a -m \"test: remove only a binary file\" &&\n#         id=$(git rev-list --max-count=1 HEAD) &&\n#         (cd \"$CVSWORK\" &&\n#         git cvsexportcommit -c $id &&\n#         check_entries A \"newfile1.txt/1.2/\" &&\n#         check_entries B \"\" &&\n#         check_entries C \"\" &&\n#         check_entries D \"\" &&\n#         check_entries E \"newfile5.txt/1.1/\" &&\n#         check_entries F \"newfile6.png/1.1/-kb\" &&\n#         test_cmp A/newfile1.txt ../A/newfile1.txt &&\n#         test_cmp E/newfile5.txt ../E/newfile5.txt &&\n#         test_cmp F/newfile6.png ../F/newfile6.png\n#         )\nnot ok 5 - Remove only a text file\n#    rm -f A/newfile1.txt &&\n#         git commit -a -m \"test: remove only a binary file\" &&\n#         id=$(git rev-list --max-count=1 HEAD) &&\n#         (cd \"$CVSWORK\" &&\n#         git cvsexportcommit -c $id &&\n#         check_entries A \"\" &&\n#         check_entries B \"\" &&\n#         check_entries C \"\" &&\n#         check_entries D \"\" &&\n#         check_entries E \"newfile5.txt/1.1/\" &&\n#         check_entries F \"newfile6.png/1.1/-kb\" &&\n#         test_cmp E/newfile5.txt ../E/newfile5.txt &&\n#         test_cmp F/newfile6.png ../F/newfile6.png\n#         )\nnot ok 6 - New file with spaces in file name\n#    mkdir \"G g\" &&\n#          echo ok then >\"G g/with spaces.txt\" &&\n#          git add \"G g/with spaces.txt\" && \\\n#          cp \"$TEST_DIRECTORY\"/test-binary-1.png \"G g/with spaces.png\" && \\\n#          git add \"G g/with spaces.png\" &&\n#          git commit -a -m \"With spaces\" &&\n#          id=$(git rev-list --max-count=1 HEAD) &&\n#          (cd \"$CVSWORK\" &&\n#          git cvsexportcommit -c $id &&\n#          check_entries \"G g\" \"with spaces.png/1.1/-kb|with \nspaces.txt/1.1/\"\n#          )\nnot ok 7 - Update file with spaces in file name\n#    echo Ok then >>\"G g/with spaces.txt\" &&\n#          cat \"$TEST_DIRECTORY\"/test-binary-1.png >>\"G g/with \nspaces.png\" && \\\n#          git add \"G g/with spaces.png\" &&\n#          git commit -a -m \"Update with spaces\" &&\n#          id=$(git rev-list --max-count=1 HEAD) &&\n#          (cd \"$CVSWORK\" &&\n#          git cvsexportcommit -c $id\n#          check_entries \"G g\" \"with spaces.png/1.2/-kb|with \nspaces.txt/1.2/\"\n#          )\nnot ok 8 - File with non-ascii file name\n#    mkdir -p \nÅ/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö &&\n#          echo Foo \n >Å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt &&\n#          git add \nÅ/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt \n&&\n#          cp \"$TEST_DIRECTORY\"/test-binary-1.png \nÅ/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png \n&&\n#          git add \nÅ/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png \n&&\n#          git commit -a -m \"Går det så går det\" && \\\n#          id=$(git rev-list --max-count=1 HEAD) &&\n#          (cd \"$CVSWORK\" &&\n#          git cvsexportcommit -v -c $id &&\n#          check_entries \\\n#          \n\"Å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö\" \\\n#          \"gårdetsågårdet.png/1.1/-kb|gårdetsågårdet.txt/1.1/\"\n#          )\nok 9 - Mismatching patch should fail\nok 10 - Retain execute bit\nnot ok 11 - -w option should work with relative GIT_DIR\n#\n#          mkdir W &&\n#          echo foobar >W/file1.txt &&\n#          echo bazzle >W/file2.txt &&\n#          git add W/file1.txt &&\n#          git add W/file2.txt &&\n#          git commit -m \"More updates\" &&\n#          id=$(git rev-list --max-count=1 HEAD) &&\n#          (cd \"$GIT_DIR\" &&\n#          GIT_DIR=. git cvsexportcommit -w \"$CVSWORK\" -c $id &&\n#          check_entries \"$CVSWORK/W\" \"file1.txt/1.1/|file2.txt/1.1/\" &&\n#          test_cmp \"$CVSWORK/W/file1.txt\" ../W/file1.txt &&\n#          test_cmp \"$CVSWORK/W/file2.txt\" ../W/file2.txt\n#          )\n#\nnot ok 12 - check files before directories\n#\n#\n#        echo Notes > release-notes &&\n#        git add release-notes &&\n#        git commit -m \"Add release notes\" release-notes &&\n#        id=$(git rev-parse HEAD) &&\n#        git cvsexportcommit -w \"$CVSWORK\" -c $id &&\n#\n#        echo new > DS &&\n#        echo new > E/DS &&\n#        echo modified > release-notes &&\n#        git add DS E/DS release-notes &&\n#        git commit -m \"Add two files with the same basename\" &&\n#        id=$(git rev-parse HEAD) &&\n#        git cvsexportcommit -w \"$CVSWORK\" -c $id &&\n#        check_entries \"$CVSWORK/E\" \"DS/1.1/|newfile5.txt/1.1/\" &&\n#        check_entries \"$CVSWORK\" \"DS/1.1/|release-notes/1.2/\" &&\n#        test_cmp \"$CVSWORK/DS\" DS &&\n#        test_cmp \"$CVSWORK/E/DS\" E/DS &&\n#        test_cmp \"$CVSWORK/release-notes\" release-notes\n#\n#\nnot ok 13 - re-commit a removed filename which remains in CVS attic\n#\n#\n#        (cd \"$CVSWORK\" &&\n#         echo >attic_gremlin &&\n#         cvs -Q add attic_gremlin &&\n#         cvs -Q ci -m \"added attic_gremlin\" &&\n#         rm attic_gremlin &&\n#         cvs -Q rm attic_gremlin &&\n#         cvs -Q ci -m \"removed attic_gremlin\") &&\n#\n#        echo > attic_gremlin &&\n#        git add attic_gremlin &&\n#        git commit -m \"Added attic_gremlin\" &&\n#        git cvsexportcommit -w \"$CVSWORK\" -c HEAD &&\n#        (cd \"$CVSWORK\"; cvs -Q update -d) &&\n#        test -f \"$CVSWORK/attic_gremlin\"\n#\nnot ok 14 - commit a file with leading spaces in the name\n#\n#\n#        echo space > \" space\" &&\n#        git add \" space\" &&\n#        git commit -m \"Add a file with a leading space\" &&\n#        id=$(git rev-parse HEAD) &&\n#        git cvsexportcommit -w \"$CVSWORK\" -c $id &&\n#        check_entries \"$CVSWORK\" \" \nspace/1.1/|DS/1.1/|attic_gremlin/1.3/|release-notes/1.2/\" &&\n#        test_cmp \"$CVSWORK/ space\" \" space\"\n#\n#\nnot ok 15 - use the same checkout for Git and CVS\n#\n#\n#        (mkdir shared &&\n#         cd shared &&\n#         sane_unset GIT_DIR &&\n#         cvs co . &&\n#         git init &&\n#         git add \" space\" &&\n#         git commit -m \"fake initial commit\" &&\n#         echo Hello >> \" space\" &&\n#         git commit -m \"Another change\" \" space\" &&\n#         git cvsexportcommit -W -p -u -c HEAD &&\n#         grep Hello \" space\" &&\n#         git diff-files)\n#\n#\n# failed 12 among 15 test(s)\n1..15\n-- \n\nFabio D'Alfonso\n'Enabling Business Through IT'\ncell.  +39.348.059.40.22 ***\nweb: www.fabiodalfonso.com <http://www.fabiodalfonso.com/>\nemail: fabio.dalfonso@fabiodalfonso.com\n<mailto:fabio.dalfonso@fabiodalfonso.com>linkedin: \nwww.linkedin.com/in/fabiodalfonso <http://it.linkedin.com/in/fabiodalfonso>\ntwitter: www.twitter.com/#!/fabio_dalfonso \n<http://www.twitter.com/#%21/fabio_dalfonso>\n\nfax: +39.06.874.599.581\nBlackBerry® Wireless Enabled Address.\n\n\n          ** Hidden  numbers are automatically rejected by the phone*\n"},{"id":"235696","messageId":"20140301064642.GD20397@sigill.intra.peff.net","threadId":"36002","inReplyTo":"5310D933.1@fabiodalfonso.com","subject":"Re: t9200 cvsexportcommit test fails on Ubuntu server 12.04.4 LTS","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-03-01T06:46:43Z","receivedAt":"2014-03-01T06:46:43Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, Feb 28, 2014 at 07:45:07PM +0100, Fabio D'Alfonso wrote:\n\n> I get 12 of 15 tests faling.\n> \n> Any idea? the same build works fine on 11.04 where I have a desktop version.\n\nNo clue. It works fine for me here (Debian sid). Perhaps try running the\nscript like:\n\n    ./t9200-git-cvsexportcommit.sh -v -i\n\nwhich should give more information about what exactly is failing?\n\n-Peff\n"},{"id":"235707","messageId":"5311B1F5.7080501@fabiodalfonso.com","threadId":"36002","inReplyTo":"20140301064642.GD20397@sigill.intra.peff.net","subject":"Re: t9200 cvsexportcommit test fails on Ubuntu server 12.04.4 LTS","fromName":"Fabio D'Alfonso","fromEmail":"fabio.dalfonso@fabiodalfonso.com","sentAt":"2014-03-01T10:09:57Z","receivedAt":"2014-03-01T10:09:57Z","isPatch":false,"sender":{"key":"fabio.dalfonso@fabiodalfonso.com","avatar":"https://gravatar.com/avatar/eb4e8a7c7e494ea00c7a9661b1fcb25717e218e9138b5ff05e459c96d43825f5?d=mp&s=160"},"body":"Hi,\nthanks for the suggestion.\n\nTests failed because the cvs is built with denied root commit on 12.04, \nI did not notice as the 11.04 works. I use root for system activities on \nservers. Will sometime in the future start to sudoku...\n\nMade a check as git user and was fine.\n\nFabio D'Alfonso\n'Enabling Business Through IT'\ncell.  +39.348.059.40.22 ***\nweb: www.fabiodalfonso.com <http://www.fabiodalfonso.com/>\nemail: fabio.dalfonso@fabiodalfonso.com\n<mailto:fabio.dalfonso@fabiodalfonso.com>linkedin: \nwww.linkedin.com/in/fabiodalfonso <http://it.linkedin.com/in/fabiodalfonso>\ntwitter: www.twitter.com/#!/fabio_dalfonso \n<http://www.twitter.com/#%21/fabio_dalfonso>\n\nfax: +39.06.874.599.581\nBlackBerry® Wireless Enabled Address.\n\n\n          ** Hidden  numbers are automatically rejected by the phone*\n\nOn 3/1/2014 7:46 AM, Jeff King wrote:\n> On Fri, Feb 28, 2014 at 07:45:07PM +0100, Fabio D'Alfonso wrote:\n>\n>> I get 12 of 15 tests faling.\n>>\n>> Any idea? the same build works fine on 11.04 where I have a desktop version.\n> No clue. It works fine for me here (Debian sid). Perhaps try running the\n> script like:\n>\n>      ./t9200-git-cvsexportcommit.sh -v -i\n>\n> which should give more information about what exactly is failing?\n>\n> -Peff\n"}]}