{"thread":{"id":"21669","subject":"[PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","startedAt":"2009-11-19T18:41:20Z","lastAt":"2010-01-01T00:07:53Z","messageCount":5,"participants":["Ramsay Jones","Nanako Shiraishi","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"127917","messageId":"4B059150.5050303@ramsay1.demon.co.uk","threadId":"21669","inReplyTo":null,"subject":"[PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2009-11-19T18:41:20Z","receivedAt":"2009-11-19T18:41:20Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nThe t/t9700/test.pl script uses method invocation syntax when\nusing the Cwd module to determine the current working directory.\nThis fails on cygwin, since cygwin perl specifically checks for\nany arguments to the cwd() function and croak()'s with the message\n\"Usage: Cwd::cwd()\". (In perl v5.8.8 distribution, see the file\nperl-5.8.8/cygwin/cygwin.c lines 139-157)\n\nIn order to avoid the problem, we replace the method invocation\nsyntax with a simple function call.\n\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n t/t9700/test.pl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t9700/test.pl b/t/t9700/test.pl\nindex 6c70aec..666722d 100755\n--- a/t/t9700/test.pl\n+++ b/t/t9700/test.pl\n@@ -13,7 +13,7 @@ use File::Basename;\n BEGIN { use_ok('Git') }\n \n # set up\n-our $abs_repo_dir = Cwd->cwd;\n+our $abs_repo_dir = cwd();\n ok(our $r = Git->repository(Directory => \".\"), \"open repository\");\n \n # config\n-- \n1.6.5\n"},{"id":"130550","messageId":"20091230224023.6117@nanako3.lavabit.com","threadId":"21669","inReplyTo":"4B059150.5050303@ramsay1.demon.co.uk","subject":"Re: [PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2009-12-30T13:40:23Z","receivedAt":"2009-12-30T13:40:23Z","isPatch":true,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"Junio, could you tell us what happened to this thread?\n"},{"id":"130591","messageId":"7vbphfzlgt.fsf@alter.siamese.dyndns.org","threadId":"21669","inReplyTo":"20091230224023.6117@nanako3.lavabit.com","subject":"Re: [PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-12-31T06:49:54Z","receivedAt":"2009-12-31T06:49:54Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Nanako Shiraishi <nanako3@lavabit.com> writes:\n\n> Junio, could you tell us what happened to this thread?\n\nHmph, I think we have it as 81f4026 (t9700-perl-git.sh: Fix a test failure\non Cygwin, 2009-11-19).\n"},{"id":"130641","messageId":"20100101090515.6117@nanako3.lavabit.com","threadId":"21669","inReplyTo":"7vbphfzlgt.fsf@alter.siamese.dyndns.org","subject":"Re: [PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2010-01-01T00:05:15Z","receivedAt":"2010-01-01T00:05:15Z","isPatch":true,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"Quoting Junio C Hamano <gitster@pobox.com>\n\n> Nanako Shiraishi <nanako3@lavabit.com> writes:\n>\n>> Junio, could you tell us what happened to this thread?\n>\n> Hmph, I think we have it as 81f4026 (t9700-perl-git.sh: Fix a test failure\n> on Cygwin, 2009-11-19).\n\nOh, my mistake. I'm very sorry for wasting your time.\n\n-- \nNanako Shiraishi\nhttp://ivory.ap.teacup.com/nanako3/\n"},{"id":"130646","messageId":"7v637mr8km.fsf@alter.siamese.dyndns.org","threadId":"21669","inReplyTo":"20100101090515.6117@nanako3.lavabit.com","subject":"Re: [PATCH] t9700-perl-git.sh: Fix a test failure on Cygwin","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-01T00:07:53Z","receivedAt":"2010-01-01T00:07:53Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Nanako Shiraishi <nanako3@lavabit.com> writes:\n\n> Quoting Junio C Hamano <gitster@pobox.com>\n>\n>> Nanako Shiraishi <nanako3@lavabit.com> writes:\n>>\n>>> Junio, could you tell us what happened to this thread?\n>>\n>> Hmph, I think we have it as 81f4026 (t9700-perl-git.sh: Fix a test failure\n>> on Cygwin, 2009-11-19).\n>\n> Oh, my mistake. I'm very sorry for wasting your time.\n\nThat's Ok; your other reminders were all good ones and greatly\nappreciated.\n\nBut let me slow down.  I'll reply to the other messages next year ;-).\n"}]}