{"thread":{"id":"24663","subject":"tests failing on Cygwin","startedAt":"2010-08-07T21:37:00Z","lastAt":"2010-08-07T23:04:18Z","messageCount":3,"participants":["Amir E. Aharoni","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"147398","messageId":"AANLkTimeE-dJrSrjJSuP9Zm93tF9woNakO+HwspJg6CZ@mail.gmail.com","threadId":"24663","inReplyTo":null,"subject":"tests failing on Cygwin","fromName":"Amir E. Aharoni","fromEmail":"amir.aharoni@mail.huji.ac.il","sentAt":"2010-08-07T21:37:00Z","receivedAt":"2010-08-07T21:37:00Z","isPatch":false,"sender":{"key":"amir.aharoni@mail.huji.ac.il","avatar":"https://gravatar.com/avatar/fde52c4c839906a156f92b08c987b3139b5b5b72cb895f0a46e9dfdabf268b27?d=mp&s=160"},"body":"Hallo,\n\nI couldn't find a better place to report this and i don't know whether\nanyone really cares about this, but i'll try anyway.\n\nI want to make a few corrections to the core documentation. I cloned\ngit.git and before starting the actual i built it and ran `make test',\njust in case, and some tests failed.\n\nI am doing this on XP/Cygwin. Some of them may be irrelevant for\nCygwin; if so, they probably should be skipped. And maybe i am just\nmisunderstanding something.\n\nHere's the list of files and names of failed tests:\n\nt0001-init.sh:\n* init notices EPERM\n\nt1004-read-tree-m-u-wf.sh:\n* funny symlink in work tree, un-unlink-able\n\nt3300-funny-names.sh:\n* git diff-tree delete with-funny\n* ... and all the test from here until the end of that file\n\nt3301-notes.sh:\n* test_expect_success 'git notes copy --for-rewrite (disabled)' '\n        git config notes.rewrite.bar false &&\n        echo $(git rev-parse HEAD~3) $(git rev-parse HEAD) |\n        git notes copy --for-rewrite=bar &&\n        git log -2 > output &&\n        test_cmp expect output\n    '\n\nt556x_common:\n* direct refs/heads/master not found\n* no export by default\n* static file if http.getanyfile true is ok\n* http.uploadpack false\n* http.receivepack default disabled\n* http.receivepack false\n\nt7300-clean.sh:\n* removal failure\n\nt7606-merge-custom.sh:\n* merge c2 with a custom strategy\n\n-- \nאָמִיר אֱלִישָׁע אַהֲרוֹנִי\nAmir Elisha Aharoni\n\nhttp://aharoni.wordpress.com\n\n\"We're living in pieces,\n I want to live in peace.\" - T. Moore\n"},{"id":"147402","messageId":"AANLkTikvGAwW0XbaSXOw6iWETwe_bpVC4cj1J8UP++66@mail.gmail.com","threadId":"24663","inReplyTo":"AANLkTimeE-dJrSrjJSuP9Zm93tF9woNakO+HwspJg6CZ@mail.gmail.com","subject":"Re: tests failing on Cygwin","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-08-07T23:02:27Z","receivedAt":"2010-08-07T23:02:27Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Sat, Aug 7, 2010 at 21:37, Amir E. Aharoni\n<amir.aharoni@mail.huji.ac.il> wrote:\n> Hallo,\n>\n> I couldn't find a better place to report this and i don't know whether\n> anyone really cares about this, but i'll try anyway.\n>\n> I want to make a few corrections to the core documentation. I cloned\n> git.git and before starting the actual i built it and ran `make test',\n> just in case, and some tests failed.\n>\n> I am doing this on XP/Cygwin. Some of them may be irrelevant for\n> Cygwin; if so, they probably should be skipped. And maybe i am just\n> misunderstanding something.\n>\n> Here's the list of files and names of failed tests:\n>\n> t0001-init.sh:\n> * init notices EPERM\n>\n> t1004-read-tree-m-u-wf.sh:\n> * funny symlink in work tree, un-unlink-able\n>\n> t3300-funny-names.sh:\n> * git diff-tree delete with-funny\n> * ... and all the test from here until the end of that file\n>\n> t3301-notes.sh:\n> * test_expect_success 'git notes copy --for-rewrite (disabled)' '\n>        git config notes.rewrite.bar false &&\n>        echo $(git rev-parse HEAD~3) $(git rev-parse HEAD) |\n>        git notes copy --for-rewrite=bar &&\n>        git log -2 > output &&\n>        test_cmp expect output\n>    '\n>\n> t556x_common:\n> * direct refs/heads/master not found\n> * no export by default\n> * static file if http.getanyfile true is ok\n> * http.uploadpack false\n> * http.receivepack default disabled\n> * http.receivepack false\n>\n> t7300-clean.sh:\n> * removal failure\n>\n> t7606-merge-custom.sh:\n> * merge c2 with a custom strategy\n\nDid you run these tests as root? The 'init notices EPERM' test at\nleast seems to have failed due to that.\n\nI have a pending patch series (on list) to make the test suite not\nfail when you run it as the root user.\n\nIt looks like you running them as the superuser might not explain all\nof them though, but I didn't go through them all in detail, and I\ndon't have a cygwin system.\n\nIt also helps you run the failing tests like this:\n\n    ./failing-test.sh --verbose --debug\n\nAnd provide the full output from that. The output from \"uname -a\"\nwould also be helpful.\n"},{"id":"147403","messageId":"AANLkTinuDuMRADHjTMbVW4tPm2qNd1S0Pg7YrQ94MN3B@mail.gmail.com","threadId":"24663","inReplyTo":"AANLkTimeE-dJrSrjJSuP9Zm93tF9woNakO+HwspJg6CZ@mail.gmail.com","subject":"Re: tests failing on Cygwin","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-08-07T23:04:18Z","receivedAt":"2010-08-07T23:04:18Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Sat, Aug 7, 2010 at 21:37, Amir E. Aharoni\n<amir.aharoni@mail.huji.ac.il> wrote:\n\n(forgot to reply to this)\n\n> I couldn't find a better place to report this and i don't know whether\n> anyone really cares about this, but i'll try anyway.\n\nThis is the right place, and we care. But we don't have a lot of\npeople using Windows here, so stuff like this might be broken.\n\nThe Windows builds of Git use MINGW now that I can tell, not Cygwin,\nso Cygwin might break in some ways that MINGW doesn't.\n\nAnyway, un-breaking it would be nice.\n"}]}