Skip Menu |

This queue is for tickets about the CGI-Snapp CPAN distribution.

Report information
The Basics
Id: 81241
Status: resolved
Worked: 20 min
Priority: 0/
Queue: CGI-Snapp

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.02
  • 1.04
  • 1.05
  • 1.07
  • 1.08
Fixed in: 2.01



Subject: test.t hangs on Windows
Strawberry perl 5.14.0, 5.8.9 ok 1 - run() in basic.pl returned real data Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. Use of uninitialized value $count in concatenation (.) or string at t/test.t line 26. Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. not ok 2 - basic.pl ran tests # Failed test 'basic.pl ran tests' # at t/test.t line 26. ok 3 - run() in callbacks.pl returned real data Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. Use of uninitialized value $count in concatenation (.) or string at t/test.t line 26. Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. not ok 4 - callbacks.pl ran tests # Failed test 'callbacks.pl ran tests' # at t/test.t line 26. ok 5 - run() in defaults.pl returned real data Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. Use of uninitialized value $count in concatenation (.) or string at t/test.t line 26. Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. not ok 6 - defaults.pl ran tests # Failed test 'defaults.pl ran tests' # at t/test.t line 26. ok 7 - run() in headers.pl returned real data Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. Use of uninitialized value $count in concatenation (.) or string at t/test.t line 26. Use of uninitialized value $count in numeric eq (==) at t/test.t line 26. not ok 8 - headers.pl ran tests # Failed test 'headers.pl ran tests' # at t/test.t line 26. Terminating on signal SIGINT(2) -- Alexandr Ciornii, http://chorny.net
Hi Yes, my fault. I used 't/x.pl' in tests instead of File::Spec -> catfile('t', 'x.pl'). I've uploaded V 1.03 to CPAN, which should fix this problem. Also, various other modules (CGI::Snapp::Demo::*, Config::Plugin::Tiny(*) and Log::Handler::Plugin::DBI) have the same problem. I've patched these and will upload them to CPAN shortly. $many x $thanx; Ron
On Fri Nov 16 19:42:52 2012, RSAVAGE wrote: Show quoted text
> Yes, my fault. I used 't/x.pl' in tests instead of > File::Spec -> catfile('t', 'x.pl').
Windows work correctly with '/', so tests still fail and hang. I wrote a patch for your test to be more informative. Here is new output of test.t: not ok 1 - run() in basic.pl returned real data # Failed test 'run() in basic.pl returned real data' # at t/test.t line 18. not ok 2 - basic.pl ran 0 tests # Failed test 'basic.pl ran 0 tests' # at t/test.t line 29. # got: '0' # expected: '4' not ok 3 - run() in callbacks.pl returned real data # Failed test 'run() in callbacks.pl returned real data' # at t/test.t line 18. not ok 4 - callbacks.pl ran 0 tests # Failed test 'callbacks.pl ran 0 tests' # at t/test.t line 29. # got: '0' # expected: '13' not ok 5 - run() in defaults.pl returned real data # Failed test 'run() in defaults.pl returned real data' # at t/test.t line 18. not ok 6 - defaults.pl ran 0 tests # Failed test 'defaults.pl ran 0 tests' # at t/test.t line 29. # got: '0' # expected: '6' not ok 7 - run() in headers.pl returned real data # Failed test 'run() in headers.pl returned real data' # at t/test.t line 18. not ok 8 - headers.pl ran 0 tests # Failed test 'headers.pl ran 0 tests' # at t/test.t line 29. # got: '0' # expected: '16' Terminating on signal SIGINT(2) -- Alexandr Ciornii, http://chorny.net
Subject: test.t.patch
--- test.t.dist 2012-11-17 02:18:25.000000000 +0200 +++ test.t 2012-11-17 14:03:48.609375000 +0200 @@ -14,18 +14,19 @@ { my($script, $test_count, $output) = @_; - ok(length($output) > 0, "run() in $script returned real data"); + my $output_str = join('',@$output); + ok(length($output_str) > 0, "run() in $script returned real data"); - my($count); + my $count = 0; for my $line (@$output) { # This returns the final value from all matching lines. - $count = $1 if ($line =~ /^ok\s(\d+)/); + $count = $1+0 if ($line =~ /^ok\s(\d+)/); } - ok($count == $test_count, "$script ran $count test" . ($count == 1 ? '' : 's') ); + is($count, $test_count, "$script ran $count test" . ($count == 1 ? '' : 's') ); # Return the # of tests in /this/ script.
Resolved, in theory, in V 1.07, which is just now being prepared for release. Thanx.
On Wed Aug 28 02:34:06 2013, RSAVAGE wrote: Show quoted text
> Resolved, in theory, in V 1.07, which is just now being prepared for > release.
Still hangs. I've added a "diag" call to check which file is being run. # Running basic.pl not ok 1 - run() in basic.pl returned real data # Failed test 'run() in basic.pl returned real data' # at t/test.t line 17. not ok 2 - basic.pl ran 0 tests # Failed test 'basic.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '4' # Running callbacks.pl not ok 3 - run() in callbacks.pl returned real data # Failed test 'run() in callbacks.pl returned real data' # at t/test.t line 17. not ok 4 - callbacks.pl ran 0 tests # Failed test 'callbacks.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '13' # Running defaults.pl not ok 5 - run() in defaults.pl returned real data # Failed test 'run() in defaults.pl returned real data' # at t/test.t line 17. not ok 6 - defaults.pl ran 0 tests # Failed test 'defaults.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '6' # Running headers.pl not ok 7 - run() in headers.pl returned real data # Failed test 'run() in headers.pl returned real data' # at t/test.t line 17. not ok 8 - headers.pl ran 0 tests # Failed test 'headers.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '17' # Running hook.tests.pl (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Thu, 29 Aug 2013 16:53:52 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Thanx for the feedback. This is now top priority. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Thu, 29 Aug 2013 18:57:31 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi I released V 1.08, with the re-written Proc::Fork V 0.802 as the major change in pre-reqs. Also, t/params.pl will print much more (under prove). But that's for the apparent hash randomization problem I still can't understand. Here's hoping.... On 29/08/13 00:14, Alexandr Ciornii via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > On Wed Aug 28 02:34:06 2013, RSAVAGE wrote:
>> Resolved, in theory, in V 1.07, which is just now being prepared for >> release.
> Still hangs. I've added a "diag" call to check which file is being run. > > # Running basic.pl > not ok 1 - run() in basic.pl returned real data > # Failed test 'run() in basic.pl returned real data' > # at t/test.t line 17. > not ok 2 - basic.pl ran 0 tests > # Failed test 'basic.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '4' > # Running callbacks.pl > not ok 3 - run() in callbacks.pl returned real data > # Failed test 'run() in callbacks.pl returned real data' > # at t/test.t line 17. > not ok 4 - callbacks.pl ran 0 tests > # Failed test 'callbacks.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '13' > # Running defaults.pl > not ok 5 - run() in defaults.pl returned real data > # Failed test 'run() in defaults.pl returned real data' > # at t/test.t line 17. > not ok 6 - defaults.pl ran 0 tests > # Failed test 'defaults.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '6' > # Running headers.pl > not ok 7 - run() in headers.pl returned real data > # Failed test 'run() in headers.pl returned real data' > # at t/test.t line 17. > not ok 8 - headers.pl ran 0 tests > # Failed test 'headers.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '17' > # Running hook.tests.pl > (hangs) > >
-- Ron Savage http://savage.net.au/ Ph: 0421 920 622
On Thu Aug 29 04:57:54 2013, ron@savage.net.au wrote: Show quoted text
> Hi > > I released V 1.08, with the re-written Proc::Fork V 0.802 as the major > change in pre-reqs.
Does not help :(. Same hangup after 8 tests. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Fri, 30 Aug 2013 08:33:38 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Alexandr On 29/08/13 22:23, Alexandr Ciornii via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > On Thu Aug 29 04:57:54 2013, ron@savage.net.au wrote:
>> Hi >> >> I released V 1.08, with the re-written Proc::Fork V 0.802 as the major >> change in pre-reqs.
> > Does not help :(. Same hangup after 8 tests.
Aaaaaaaaaaggggggggggggggggghhhhhhhhhhhhhhhhh, -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Fri, 30 Aug 2013 10:51:19 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Alexandr The author of Capture::Tiny has warned me (via the CPAN testers email list) that it may be the intervention of his module, manipulating handles, that is the problem. So, could you please try the attached Runscript.pm, as t/lib/CGI/Snapp/RunScript.pm. I used these commands: perl -Ilib -It/lib t/test.t prove -Ilib -It/lib t/test.t and all tests passed. On 29/08/13 00:14, Alexandr Ciornii via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > On Wed Aug 28 02:34:06 2013, RSAVAGE wrote:
>> Resolved, in theory, in V 1.07, which is just now being prepared for >> release.
> Still hangs. I've added a "diag" call to check which file is being run. > > # Running basic.pl > not ok 1 - run() in basic.pl returned real data > # Failed test 'run() in basic.pl returned real data' > # at t/test.t line 17. > not ok 2 - basic.pl ran 0 tests > # Failed test 'basic.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '4' > # Running callbacks.pl > not ok 3 - run() in callbacks.pl returned real data > # Failed test 'run() in callbacks.pl returned real data' > # at t/test.t line 17. > not ok 4 - callbacks.pl ran 0 tests > # Failed test 'callbacks.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '13' > # Running defaults.pl > not ok 5 - run() in defaults.pl returned real data > # Failed test 'run() in defaults.pl returned real data' > # at t/test.t line 17. > not ok 6 - defaults.pl ran 0 tests > # Failed test 'defaults.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '6' > # Running headers.pl > not ok 7 - run() in headers.pl returned real data > # Failed test 'run() in headers.pl returned real data' > # at t/test.t line 17. > not ok 8 - headers.pl ran 0 tests > # Failed test 'headers.pl ran 0 tests' > # at t/test.t line 31. > # got: '0' > # expected: '17' > # Running hook.tests.pl > (hangs) > >
-- Ron Savage http://savage.net.au/ Ph: 0421 920 622

Message body is not shown because sender requested not to inline it.

On Thu Aug 29 20:51:34 2013, ron@savage.net.au wrote: Show quoted text
> Hi Alexandr > > The author of Capture::Tiny has warned me (via the CPAN testers email > list) that it may be the intervention of his module, manipulating > handles, that is the problem. > > So, could you please try the attached Runscript.pm, as > t/lib/CGI/Snapp/RunScript.pm.
Sorry for long answer. result: Can't locate CGI/Snapp.pm in @INC (@INC contains: C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at t\basic.pl line 5. BEGIN failed--compilation aborted at t\basic.pl line 5. not ok 1 - run() in basic.pl returned real data # Failed test 'run() in basic.pl returned real data' # at t/test.t line 17. not ok 2 - basic.pl ran 0 tests # Failed test 'basic.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '4' Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/Callback.pm line 3. Compilation failed in require at t\callbacks.pl line 5. BEGIN failed--compilation aborted at t\callbacks.pl line 5. not ok 3 - run() in callbacks.pl returned real data # Failed test 'run() in callbacks.pl returned real data' # at t/test.t line 17. not ok 4 - callbacks.pl ran 0 tests # Failed test 'callbacks.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '13' Can't locate CGI/Snapp.pm in @INC (@INC contains: C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at t\defaults.pl line 4. BEGIN failed--compilation aborted at t\defaults.pl line 4. not ok 5 - run() in defaults.pl returned real data # Failed test 'run() in defaults.pl returned real data' # at t/test.t line 17. not ok 6 - defaults.pl ran 0 tests # Failed test 'defaults.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '6' Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at t\headers.pl line 5. BEGIN failed--compilation aborted at t\headers.pl line 5. not ok 7 - run() in headers.pl returned real data # Failed test 'run() in headers.pl returned real data' # at t/test.t line 17. not ok 8 - headers.pl ran 0 tests # Failed test 'headers.pl ran 0 tests' # at t/test.t line 31. # got: '0' # expected: '17' Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestA.pm line 3. Compilation failed in require at t\hook.test.a.pl line 7. BEGIN failed--compilation aborted at t\hook.test.a.pl line 7. # Failed test 't\hook.test.a.pl returned real data' # at t\hook.tests.pl line 31. # Failed test 't\hook.test.a.pl ran the correct class-level hooks' # at t\hook.tests.pl line 32. # Compared array length of $data # got : array with 0 element(s) # expect : array with 6 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestB.pm line 3. Compilation failed in require at t\hook.test.b.pl line 7. BEGIN failed--compilation aborted at t\hook.test.b.pl line 7. # Failed test 't\hook.test.b.pl returned real data' # at t\hook.tests.pl line 57. # Failed test 't\hook.test.b.pl ran the correct class-level hooks' # at t\hook.tests.pl line 58. # Compared array length of $data # got : array with 0 element(s) # expect : array with 6 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestC.pm line 3. Compilation failed in require at t\hook.test.c.pl line 7. BEGIN failed--compilation aborted at t\hook.test.c.pl line 7. # Failed test 't\hook.test.c.pl returned real data' # at t\hook.tests.pl line 83. # Failed test 't\hook.test.c.pl ran the correct class-level hooks' # at t\hook.tests.pl line 84. # Compared array length of $data # got : array with 0 element(s) # expect : array with 6 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestD.pm line 3. Compilation failed in require at t\hook.test.d.pl line 7. BEGIN failed--compilation aborted at t\hook.test.d.pl line 7. # Failed test 't\hook.test.d.pl returned real data' # at t\hook.tests.pl line 109. # Failed test 't\hook.test.d.pl ran the correct class-level hooks' # at t\hook.tests.pl line 110. # Compared array length of $data # got : array with 0 element(s) # expect : array with 6 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestA.pm line 3. Compilation failed in require at t\hook.test.a.pl line 7. BEGIN failed--compilation aborted at t\hook.test.a.pl line 7. # Failed test 't\hook.test.a.pl returned real data' # at t\hook.tests.pl line 133. # Failed test 't\hook.test.a.pl ran the correct object-level hooks' # at t\hook.tests.pl line 134. # Compared array length of $data # got : array with 0 element(s) # expect : array with 4 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestB.pm line 3. Compilation failed in require at t\hook.test.b.pl line 7. BEGIN failed--compilation aborted at t\hook.test.b.pl line 7. # Failed test 't\hook.test.b.pl returned real data' # at t\hook.tests.pl line 156. # Failed test 't\hook.test.b.pl ran the correct object-level hooks' # at t\hook.tests.pl line 157. # Compared array length of $data # got : array with 0 element(s) # expect : array with 3 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestC.pm line 3. Compilation failed in require at t\hook.test.c.pl line 7. BEGIN failed--compilation aborted at t\hook.test.c.pl line 7. # Failed test 't\hook.test.c.pl returned real data' # at t\hook.tests.pl line 178. # Failed test 't\hook.test.c.pl ran the correct object-level hooks' # at t\hook.tests.pl line 179. # Compared array length of $data # got : array with 0 element(s) # expect : array with 2 element(s) Can't locate CGI/Snapp.pm in @INC (@INC contains: t/lib C:/strawberry514/perl/site/lib C:/strawberry514/perl/vendor/lib C:/strawberry514/perl/lib .) at C:/strawberry514/perl/lib/parent.pm line 20. BEGIN failed--compilation aborted at t/lib/CGI/Snapp/HookTestD.pm line 3. Compilation failed in require at t\hook.test.d.pl line 7. BEGIN failed--compilation aborted at t\hook.test.d.pl line 7. # Failed test 't\hook.test.d.pl returned real data' # at t\hook.tests.pl line 200. # Failed test 't\hook.test.d.pl ran the correct object-level hooks' # at t\hook.tests.pl line 201. # Compared array length of $data # got : array with 0 element(s) # expect : array with 2 element(s) # Looks like you failed 16 tests of 16. (hangs) -- Alexandr Ciornii, http://chorny.net
From: twata_1 [...] yahoo.co.jp
Hi, I tried attached Runscript.pm where I decided not to use fork module, as t/lib/CGI/Snapp/RunScript.pm. Under Strawberry Perl 5.8.9 on Windows 7, I used this command: prove -Ilib -It/lib t/test.t and it seemed to me that all tests passed.. Hope this help.
Subject: RunScript.pm
package CGI::Snapp::RunScript; use strict; use warnings; use Carp; our $VERSION = '1.08'; # -------------------------------------------------- sub new { my($class) = @_; return bless {}, $class; } # End of new. # ----------------------------------------------- sub run_script { my($self, $script) = @_; my(@stack); my $cmd = "$^X $script"; open PIPE, "-|", $cmd or croak "Testing script $script\n"; while (my $line = <PIPE>) { push @stack, $line; } close(PIPE) or croak "Failed pipe close\n"; return [@stack]; } # End of run_script; # -------------------------------------------------- 1;
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Mon, 29 Aug 2016 16:55:12 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi On 20/08/16 18:55, twata_1@yahoo.co.jp via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi, > > I tried attached Runscript.pm where I decided not to use fork module, as t/lib/CGI/Snapp/RunScript.pm. > > Under Strawberry Perl 5.8.9 on Windows 7, I used this command: > > prove -Ilib -It/lib t/test.t > > and it seemed to me that all tests passed.. > > Hope this help.
Thanx for this report. I've very interesting. I have not looked at this code since August 2013, and it's not yet obvious to me what I should do next. -- Ron Savage - savage.net.au
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Mon, 29 Aug 2016 17:02:52 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Also, it seems your email was sent on 20th August, but I've just received late on 29th August. Any ideas why that might be? And as for your code, I'm thinking I might have to adopt it! On 20/08/16 18:55, twata_1@yahoo.co.jp via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi, > > I tried attached Runscript.pm where I decided not to use fork module, as t/lib/CGI/Snapp/RunScript.pm. > > Under Strawberry Perl 5.8.9 on Windows 7, I used this command: > > prove -Ilib -It/lib t/test.t > > and it seemed to me that all tests passed.. > > Hope this help. >
-- Ron Savage - savage.net.au
From: twata_1 [...] yahoo.co.jp
Hi! Thanks for your reply. Last time, I logged in to RT and replied. Then is it delayed and does it reach? I also log in to RT and reply this time. Anyway, if your module test passes on Windows, I'm happy.(^^) Thank you, On 2016-8月-29 月 03:03:13, ron@savage.net.au wrote: Show quoted text
> Hi > > Also, it seems your email was sent on 20th August, but I've just > received late on 29th August. Any ideas why that might be? > > And as for your code, I'm thinking I might have to adopt it! > > On 20/08/16 18:55, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi, > > > > I tried attached Runscript.pm where I decided not to use fork module, > > as t/lib/CGI/Snapp/RunScript.pm. > > > > Under Strawberry Perl 5.8.9 on Windows 7, I used this command: > > > > prove -Ilib -It/lib t/test.t > > > > and it seemed to me that all tests passed.. > > > > Hope this help. > >
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Sun, 4 Sep 2016 12:50:28 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi I've accepted your patch ($many x $thanx!), and I'm re-writing CGI::Snapp to use Moo. I expect to release a new version today (Sunday). -- Ron Savage - savage.net.au
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Sun, 4 Sep 2016 16:36:24 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi On 04/09/16 12:50, ron@savage.net.au via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi > > I've accepted your patch ($many x $thanx!), and I'm re-writing > CGI::Snapp to use Moo. I expect to release a new version today (Sunday).
Unfortunately, various issues arose which mean the tests don't run without error when driven by t/test.t. When run individually they work. I don't know what's happening, yet. -- Ron Savage - savage.net.au
From: twata_1 [...] yahoo.co.jp
Hi I'm sorry to hear that. AFAIK, for Strawberry Perl on Windows, If one of the various issues is like: Error in tempfile() using template \XXXXXXXXXX: Could not create temp file... then, Please see below: Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1 https://rt.cpan.org/Public/Bug/Display.html?id=103452 I hope this helps. Thank you, On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote: Show quoted text
> Hi > > On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi > > > > I've accepted your patch ($many x $thanx!), and I'm re-writing > > CGI::Snapp to use Moo. I expect to release a new version today (Sunday).
> > Unfortunately, various issues arose which mean the tests don't run > without error when driven by t/test.t. When run individually they work. > I don't know what's happening, yet. >
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Sun, 4 Sep 2016 17:35:18 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi > > I'm sorry to hear that. > > AFAIK, for Strawberry Perl on Windows, > If one of the various issues is like: > > Error in tempfile() using template \XXXXXXXXXX: Could not create temp file...
Nope. Just different results depending on which of these I run: o prove -lv t/default.pl o prove -lvt (which runs t/test.t which runs default.pl) The code is in the new repo: https://github.com/ronsavage/CGI-Snapp. BTW: I run Debian stable :-). Please let me know how you get on. Show quoted text
> then, Please see below: > > Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1 > https://rt.cpan.org/Public/Bug/Display.html?id=103452 > > I hope this helps. > Thank you, > > On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
>> Hi >> >> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
>>> Queue: CGI-Snapp >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>> >>> Hi >>> >>> I've accepted your patch ($many x $thanx!), and I'm re-writing >>> CGI::Snapp to use Moo. I expect to release a new version today (Sunday).
>> >> Unfortunately, various issues arose which mean the tests don't run >> without error when driven by t/test.t. When run individually they work. >> I don't know what's happening, yet. >>
> > >
-- Ron Savage - savage.net.au
From: twata_1 [...] yahoo.co.jp
Hi I tried: o prove -lv t/default.pl o prove -lvt with Strawberry Perl on Windows 7, and copied & pasted from command prompt to text files. Those are attached. Oh! debian, I have used it by Kurobox long time ago. Thank you, On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote: Show quoted text
> Hi > > On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi > > > > I'm sorry to hear that. > > > > AFAIK, for Strawberry Perl on Windows, > > If one of the various issues is like: > > > > Error in tempfile() using template \XXXXXXXXXX: Could not create temp > > file...
> > Nope. Just different results depending on which of these I run: > o prove -lv t/default.pl > o prove -lvt (which runs t/test.t which runs default.pl) > > The code is in the new repo: https://github.com/ronsavage/CGI-Snapp. > > BTW: I run Debian stable :-). > > Please let me know how you get on. >
> > then, Please see below: > > > > Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry Perl > > 5.12.1 > > https://rt.cpan.org/Public/Bug/Display.html?id=103452 > > > > I hope this helps. > > Thank you, > > > > On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
> >> Hi > >> > >> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> >>> Queue: CGI-Snapp > >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>> > >>> Hi > >>> > >>> I've accepted your patch ($many x $thanx!), and I'm re-writing > >>> CGI::Snapp to use Moo. I expect to release a new version today > >>> (Sunday).
> >> > >> Unfortunately, various issues arose which mean the tests don't run > >> without error when driven by t/test.t. When run individually they > >> work. > >> I don't know what's happening, yet. > >>
> > > > > >
Subject: Result-StrawberryP5-10-1.txt

Message body is not shown because it is too large.

Subject: Result-StrawberryP5-18-4.txt

Message body is not shown because it is too large.

Subject: Result-StrawberryP5-8-9.txt
C:\home\flower\CGI-Snapp-master>perl Makefile.PL Useless use of a constant in void context at Makefile.PL line 8. Useless use of a constant in void context at Makefile.PL line 8. WARNING: TEST_REQUIRES is not a known parameter. Warning: prerequisite IO::Pipe 1.15 not found. We have 1.13. 'TEST_REQUIRES' is not a known MakeMaker parameter name. Writing Makefile for CGI::Snapp C:\home\flower\CGI-Snapp-master>dmake cp lib/CGI/Snapp.pm blib\lib\CGI\Snapp.pm C:\home\flower\CGI-Snapp-master>prove -lv t\defaults.pl t\defaults.pl .. call_hook(init, ...) cgiapp_init() setup() error_mode() ok 1 - Get default error mode get_current_runmode() ok 2 - Get default run mode header_type() ok 3 - Get default header type ok 4 - Get default mode source ok 5 - Get default send_output start_mode(start) ok 6 - Get default start mode 1..6 ok All tests successful. Files=1, Tests=6, 0 wallclock secs ( 0.03 usr + 0.09 sys = 0.12 CPU) Result: PASS C:\home\flower\CGI-Snapp-master>prove -lvt t\forward.t ... Can't locate Carp.pm in @INC (@INC contains: t/lib C:\home\flowe r\CGI-Snapp-master\lib C:/STRAWB~4/perl/lib C:/STRAWB~4/perl/site/lib C:\strawbe rry\perl\vendor\lib) at C:/STRAWB~4/perl/lib/warnings.pm line 134. BEGIN failed--compilation aborted at C:/STRAWB~4/perl/lib/warnings.pm line 134. Compilation failed in require at t\forward.t line 5. BEGIN failed--compilation aborted at t\forward.t line 5. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t\redirect.t .. Can't locate Carp.pm in @INC (@INC contains: t/lib C:\home\flowe r\CGI-Snapp-master\lib C:/STRAWB~4/perl/lib C:/STRAWB~4/perl/site/lib C:\strawbe rry\perl\vendor\lib) at C:/STRAWB~4/perl/lib/warnings.pm line 134. BEGIN failed--compilation aborted at C:/STRAWB~4/perl/lib/warnings.pm line 134. Compilation failed in require at t\redirect.t line 5. BEGIN failed--compilation aborted at t\redirect.t line 5. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t\test.t ...... Can't locate Carp.pm in @INC (@INC contains: t/lib C:\home\flowe r\CGI-Snapp-master\lib C:/STRAWB~4/perl/lib C:/STRAWB~4/perl/site/lib C:\strawbe rry\perl\vendor\lib) at C:/STRAWB~4/perl/lib/warnings.pm line 134. BEGIN failed--compilation aborted at C:/STRAWB~4/perl/lib/warnings.pm line 134. Compilation failed in require at t\test.t line 5. BEGIN failed--compilation aborted at t\test.t line 5. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t\forward.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t\redirect.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t\test.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=3, Tests=0, 1 wallclock secs ( 0.05 usr + 0.08 sys = 0.12 CPU) Result: FAIL C:\home\flower\CGI-Snapp-master>perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread Copyright 1987-2008, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\flower\CGI-Snapp-master>
Subject: Result-StrawberryP5-14-4.txt

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Tue, 6 Sep 2016 08:50:20 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Thanx! On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi > > I tried: > > o prove -lv t/default.pl > o prove -lvt > > with Strawberry Perl on Windows 7, and copied & pasted from command prompt to text files. > Those are attached. > > Oh! debian, I have used it by Kurobox long time ago. > > Thank you, > > On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
>> Hi >> >> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
>>> Queue: CGI-Snapp >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>> >>> Hi >>> >>> I'm sorry to hear that. >>> >>> AFAIK, for Strawberry Perl on Windows, >>> If one of the various issues is like: >>> >>> Error in tempfile() using template \XXXXXXXXXX: Could not create temp >>> file...
>> >> Nope. Just different results depending on which of these I run: >> o prove -lv t/default.pl >> o prove -lvt (which runs t/test.t which runs default.pl) >> >> The code is in the new repo: https://github.com/ronsavage/CGI-Snapp. >> >> BTW: I run Debian stable :-). >> >> Please let me know how you get on. >>
>>> then, Please see below: >>> >>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry Perl >>> 5.12.1 >>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 >>> >>> I hope this helps. >>> Thank you, >>> >>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
>>>> Hi >>>> >>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
>>>>> Queue: CGI-Snapp >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>>>> >>>>> Hi >>>>> >>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing >>>>> CGI::Snapp to use Moo. I expect to release a new version today >>>>> (Sunday).
>>>> >>>> Unfortunately, various issues arose which mean the tests don't run >>>> without error when driven by t/test.t. When run individually they >>>> work. >>>> I don't know what's happening, yet. >>>>
>>> >>> >>>
> > >
-- Ron Savage - savage.net.au
From: twata_1 [...] yahoo.co.jp
Hi! It seems to me that the prove command does not recognize the environment value "PERL5LIB". So, I tired with Strawberry Perl 5.8.9 on Windows 7: o prove -lvt -I%PERL5LIB% and Test passed!!!!!!!!!!!!!! All tests successful!!!!!!!!!!!!!! Thank you, On 2016-9月-05 月 18:50:47, ron@savage.net.au wrote: Show quoted text
> Hi > > Thanx! > > On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi > > > > I tried: > > > > o prove -lv t/default.pl > > o prove -lvt > > > > with Strawberry Perl on Windows 7, and copied & pasted from command > > prompt to text files. > > Those are attached. > > > > Oh! debian, I have used it by Kurobox long time ago. > > > > Thank you, > > > > On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
> >> Hi > >> > >> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
> >>> Queue: CGI-Snapp > >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>> > >>> Hi > >>> > >>> I'm sorry to hear that. > >>> > >>> AFAIK, for Strawberry Perl on Windows, > >>> If one of the various issues is like: > >>> > >>> Error in tempfile() using template \XXXXXXXXXX: Could not create > >>> temp > >>> file...
> >> > >> Nope. Just different results depending on which of these I run: > >> o prove -lv t/default.pl > >> o prove -lvt (which runs t/test.t which runs default.pl) > >> > >> The code is in the new repo: https://github.com/ronsavage/CGI-Snapp. > >> > >> BTW: I run Debian stable :-). > >> > >> Please let me know how you get on. > >>
> >>> then, Please see below: > >>> > >>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry > >>> Perl > >>> 5.12.1 > >>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 > >>> > >>> I hope this helps. > >>> Thank you, > >>> > >>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
> >>>> Hi > >>>> > >>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> >>>>> Queue: CGI-Snapp > >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>> > >>>>> Hi > >>>>> > >>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing > >>>>> CGI::Snapp to use Moo. I expect to release a new version today > >>>>> (Sunday).
> >>>> > >>>> Unfortunately, various issues arose which mean the tests don't run > >>>> without error when driven by t/test.t. When run individually they > >>>> work. > >>>> I don't know what's happening, yet. > >>>>
> >>> > >>> > >>>
> > > > > >
Subject: Result2-StrawberryP5-8-9.txt
C:\home\flower\CGI-Snapp-master>echo %PERL5LIB% C:\home\flower\perl5\lib\perl5 C:\home\flower\CGI-Snapp-master>prove -lvt -I%PERL5LIB% t\forward.t ... call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x23257a8)) run_modes(...) start_mode(first_r_m) run() _determine_output() _query() _query() _determine_run_mode() => first_r_m call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name get_current_runmode() ok 2 - Get run mode 'first_r_m' call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x232d0ec)) run_modes(...) start_mode(second_rm) run() _determine_output() _query() _query() _determine_run_mode() => second_rm call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.second_sub() forward(third_rm, ...) call_hook(forward_prerun, ...) CGI::Snapp::ForwardTest.fourth_sub() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.third_sub() call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - Run mode third_sub returned its name get_current_runmode() ok 4 - Got run mode 'third_rm' after forward() 1..4 ok t\redirect.t .. call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22f9270)) run_modes(...) start_mode(first_rm) run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22fcc24)) run_modes(...) start_mode(first_rm) param(...) ok 2 - PARAMS => {test.prerun.mode => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) redirect(http://first.net.au/, ...) run_modes(...) prerun_mode(dummy_redirect) header_add(...) header_type(redirect) _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - redirect(http://first.net.au/) during cgiapp_prerun() worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x2311794)) run_modes(...) start_mode(first_rm) param(...) ok 4 - PARAMS => {test.without.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) redirect(http://second.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 5 - Check url: redirect(http://second.net.au/) without a status worked ok 6 - Check default status: redirect('http://second.net.au/') without a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22f94b0)) run_modes(...) start_mode(first_rm) param(...) ok 7 - PARAMS => {test.with.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) redirect(http://third.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 8 - Check url: redirect(http://third.net.au/) with a status worked ok 9 - Check explicit status: redirect('http://third.net.au/', '301 Moved Perman ently') with a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x238ad70)) run_modes(...) start_mode(first_rm) param(...) ok 10 - PARAMS => {test.local.url => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) redirect(login.html, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 11 - Check url: redirect(login.html) without a status worked ok 12 - Check default status: redirect(login.html) without a status worked 1..12 ok t\test.t ...... ok 1 - run() in basic.pl returned real data ok 2 - basic.pl ran 4 tests ok 3 - run() in callbacks.pl returned real data ok 4 - callbacks.pl ran 13 tests ok 5 - run() in defaults.pl returned real data ok 6 - defaults.pl ran 6 tests ok 7 - run() in headers.pl returned real data ok 8 - headers.pl ran 17 tests ok 9 - run() in hook.tests.pl returned real data ok 10 - hook.tests.pl ran 16 tests ok 11 - run() in isa.pl returned real data ok 12 - isa.pl ran 1 test ok 13 - run() in overrides.pl returned real data ok 14 - overrides.pl ran 2 tests # Start test 1 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 2 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 3 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 4 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 5 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 6 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 7 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 8 # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # Start test 9 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 10 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 11 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 12 # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- ok 15 - run() in params.pl returned real data ok 16 - params.pl ran 12 tests ok 17 - run() in psgi.basic.pl returned real data ok 18 - psgi.basic.pl ran 4 tests ok 19 - run() in run.modes.pl returned real data ok 20 - run.modes.pl ran 11 tests ok 21 - run() in subclass.pl returned real data ok 22 - subclass.pl ran 3 tests 1..22 ok All tests successful. Files=3, Tests=38, 10 wallclock secs ( 0.14 usr + 0.06 sys = 0.20 CPU) Result: PASS C:\home\flower\CGI-Snapp-master>perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread Copyright 1987-2008, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\flower\CGI-Snapp-master>
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Wed, 7 Sep 2016 08:44:12 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi On 07/09/16 00:20, twata_1@yahoo.co.jp via RT wrote: Show quoted text
> Queue: CGI-Snapp > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > Hi! > > It seems to me that the prove command does not recognize the environment value "PERL5LIB".
That's very scary. Show quoted text
> So, I tired with Strawberry Perl 5.8.9 on Windows 7: > > o prove -lvt -I%PERL5LIB% > > and Test passed!!!!!!!!!!!!!! > All tests successful!!!!!!!!!!!!!!
Congratulation. And thanx for persisting! Show quoted text
> Thank you, > > > On 2016-9月-05 月 18:50:47, ron@savage.net.au wrote:
>> Hi >> >> Thanx! >> >> On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote:
>>> Queue: CGI-Snapp >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>> >>> Hi >>> >>> I tried: >>> >>> o prove -lv t/default.pl >>> o prove -lvt >>> >>> with Strawberry Perl on Windows 7, and copied & pasted from command >>> prompt to text files. >>> Those are attached. >>> >>> Oh! debian, I have used it by Kurobox long time ago. >>> >>> Thank you, >>> >>> On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
>>>> Hi >>>> >>>> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
>>>>> Queue: CGI-Snapp >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>>>> >>>>> Hi >>>>> >>>>> I'm sorry to hear that. >>>>> >>>>> AFAIK, for Strawberry Perl on Windows, >>>>> If one of the various issues is like: >>>>> >>>>> Error in tempfile() using template \XXXXXXXXXX: Could not create >>>>> temp >>>>> file...
>>>> >>>> Nope. Just different results depending on which of these I run: >>>> o prove -lv t/default.pl >>>> o prove -lvt (which runs t/test.t which runs default.pl) >>>> >>>> The code is in the new repo: https://github.com/ronsavage/CGI-Snapp. >>>> >>>> BTW: I run Debian stable :-). >>>> >>>> Please let me know how you get on. >>>>
>>>>> then, Please see below: >>>>> >>>>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry >>>>> Perl >>>>> 5.12.1 >>>>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 >>>>> >>>>> I hope this helps. >>>>> Thank you, >>>>> >>>>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
>>>>>> Hi >>>>>> >>>>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
>>>>>>> Queue: CGI-Snapp >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing >>>>>>> CGI::Snapp to use Moo. I expect to release a new version today >>>>>>> (Sunday).
>>>>>> >>>>>> Unfortunately, various issues arose which mean the tests don't run >>>>>> without error when driven by t/test.t. When run individually they >>>>>> work. >>>>>> I don't know what's happening, yet. >>>>>>
>>>>> >>>>> >>>>>
>>> >>> >>>
> > >
-- Ron Savage - savage.net.au
From: twata_1 [...] yahoo.co.jp
Hi I found that the following command works fine. o prove -v --lib t and my workaround for such a message: Error in tempfile() using template \XXXXXXXXXX: Could not create temp file... is mkdir c:\temp and cpan install dependency module. Thank, you, On 2016-9月-06 火 18:44:34, ron@savage.net.au wrote: Show quoted text
> Hi > > On 07/09/16 00:20, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi! > > > > It seems to me that the prove command does not recognize the > > environment value "PERL5LIB".
> > That's very scary. >
> > So, I tired with Strawberry Perl 5.8.9 on Windows 7: > > > > o prove -lvt -I%PERL5LIB% > > > > and Test passed!!!!!!!!!!!!!! > > All tests successful!!!!!!!!!!!!!!
> > Congratulation. And thanx for persisting! >
> > Thank you, > > > > > > On 2016-9月-05 月 18:50:47, ron@savage.net.au wrote:
> >> Hi > >> > >> Thanx! > >> > >> On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote:
> >>> Queue: CGI-Snapp > >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>> > >>> Hi > >>> > >>> I tried: > >>> > >>> o prove -lv t/default.pl > >>> o prove -lvt > >>> > >>> with Strawberry Perl on Windows 7, and copied & pasted from command > >>> prompt to text files. > >>> Those are attached. > >>> > >>> Oh! debian, I have used it by Kurobox long time ago. > >>> > >>> Thank you, > >>> > >>> On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
> >>>> Hi > >>>> > >>>> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
> >>>>> Queue: CGI-Snapp > >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>> > >>>>> Hi > >>>>> > >>>>> I'm sorry to hear that. > >>>>> > >>>>> AFAIK, for Strawberry Perl on Windows, > >>>>> If one of the various issues is like: > >>>>> > >>>>> Error in tempfile() using template \XXXXXXXXXX: Could not create > >>>>> temp > >>>>> file...
> >>>> > >>>> Nope. Just different results depending on which of these I run: > >>>> o prove -lv t/default.pl > >>>> o prove -lvt (which runs t/test.t which runs default.pl) > >>>> > >>>> The code is in the new repo: https://github.com/ronsavage/CGI- > >>>> Snapp. > >>>> > >>>> BTW: I run Debian stable :-). > >>>> > >>>> Please let me know how you get on. > >>>>
> >>>>> then, Please see below: > >>>>> > >>>>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry > >>>>> Perl > >>>>> 5.12.1 > >>>>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 > >>>>> > >>>>> I hope this helps. > >>>>> Thank you, > >>>>> > >>>>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
> >>>>>> Hi > >>>>>> > >>>>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> >>>>>>> Queue: CGI-Snapp > >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>>>> > >>>>>>> Hi > >>>>>>> > >>>>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing > >>>>>>> CGI::Snapp to use Moo. I expect to release a new version today > >>>>>>> (Sunday).
> >>>>>> > >>>>>> Unfortunately, various issues arose which mean the tests don't > >>>>>> run > >>>>>> without error when driven by t/test.t. When run individually > >>>>>> they > >>>>>> work. > >>>>>> I don't know what's happening, yet. > >>>>>>
> >>>>> > >>>>> > >>>>>
> >>> > >>> > >>>
> > > > > >
Subject: Result2-StrawberryP5-14-4.txt
############################### TESTER COMMENTS ############################### If you try to install CGI::PSGI with Strawberry Perl 5.14.4 on Windows 7, you may come accross message like: Error in tempfile() using template \XXXXXXXXXX: Could not create temp file... and CGI::PSGI's test may fail at t/upload.t. SEE ALSO: Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1 https://rt.cpan.org/Public/Bug/Display.html?id=103452 [My Workaround] C:\home\heaven>mkdir c:\temp C:\home\heaven>cpan CGI::PSGI (snip) ################################################################################ C:\home\heaven>cd CGI-Snapp-master C:\home\heaven\CGI-Snapp-master>echo %PERL5LIB% C:\home\heaven\perl5\lib\perl5 C:\home\heaven\CGI-Snapp-master>prove -v --lib t t\forward.t ... call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x214f80c)) run_modes(...) start_mode(first_r_m) run() _determine_output() _query() _query() _determine_run_mode() => first_r_m call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name get_current_runmode() ok 2 - Get run mode 'first_r_m' call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x2152d54)) run_modes(...) start_mode(second_rm) run() _determine_output() _query() _query() _determine_run_mode() => second_rm call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.second_sub() forward(third_rm, ...) call_hook(forward_prerun, ...) CGI::Snapp::ForwardTest.fourth_sub() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.third_sub() call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - Run mode third_sub returned its name get_current_runmode() ok 4 - Got run mode 'third_rm' after forward() 1..4 ok t\redirect.t .. call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x213f334)) run_modes(...) start_mode(first_rm) run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x21417e4)) run_modes(...) start_mode(first_rm) param(...) ok 2 - PARAMS => {test.prerun.mode => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) redirect(http://first.net.au/, ...) run_modes(...) prerun_mode(dummy_redirect) header_add(...) header_type(redirect) _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - redirect(http://first.net.au/) during cgiapp_prerun() worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x21f5804)) run_modes(...) start_mode(first_rm) param(...) ok 4 - PARAMS => {test.without.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) redirect(http://second.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 5 - Check url: redirect(http://second.net.au/) without a status worked ok 6 - Check default status: redirect('http://second.net.au/') without a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x21f3c14)) run_modes(...) start_mode(first_rm) param(...) ok 7 - PARAMS => {test.with.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) redirect(http://third.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 8 - Check url: redirect(http://third.net.au/) with a status worked ok 9 - Check explicit status: redirect('http://third.net.au/', '301 Moved Permanently') with a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x21f3b74)) run_modes(...) start_mode(first_rm) param(...) ok 10 - PARAMS => {test.local.url => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) redirect(login.html, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 11 - Check url: redirect(login.html) without a status worked ok 12 - Check default status: redirect(login.html) without a status worked 1..12 ok t\test.t ...... ok 1 - run() in basic.pl returned real data ok 2 - basic.pl ran 4 tests ok 3 - run() in callbacks.pl returned real data ok 4 - callbacks.pl ran 13 tests ok 5 - run() in defaults.pl returned real data ok 6 - defaults.pl ran 6 tests ok 7 - run() in headers.pl returned real data ok 8 - headers.pl ran 17 tests ok 9 - run() in hook.tests.pl returned real data ok 10 - hook.tests.pl ran 16 tests ok 11 - run() in isa.pl returned real data ok 12 - isa.pl ran 1 test ok 13 - run() in overrides.pl returned real data ok 14 - overrides.pl ran 2 tests # Start test 1 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 2 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 3 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 4 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 5 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 6 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 7 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 8 # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # Start test 9 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 10 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 11 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 12 # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- ok 15 - run() in params.pl returned real data ok 16 - params.pl ran 12 tests ok 17 - run() in psgi.basic.pl returned real data ok 18 - psgi.basic.pl ran 4 tests ok 19 - run() in run.modes.pl returned real data ok 20 - run.modes.pl ran 11 tests ok 21 - run() in subclass.pl returned real data ok 22 - subclass.pl ran 3 tests 1..22 ok All tests successful. Files=3, Tests=38, 13 wallclock secs ( 0.11 usr + 0.03 sys = 0.14 CPU) Result: PASS C:\home\heaven\CGI-Snapp-master>perl -v This is perl 5, version 14, subversion 4 (v5.14.4) built for MSWin32-x86-multi-thread Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\heaven\CGI-Snapp-master>
Subject: Result2-StrawberryP5-18-4.txt
C:\home\journey\CGI-Snapp-master>prove -v --lib t t\forward.t ... call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x20293cc)) run_modes(...) start_mode(first_r_m) run() _determine_output() _query() _query() _determine_run_mode() => first_r_m call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name get_current_runmode() ok 2 - Get run mode 'first_r_m' call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x2030fa4)) run_modes(...) start_mode(second_rm) run() _determine_output() _query() _query() _determine_run_mode() => second_rm call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.second_sub() forward(third_rm, ...) call_hook(forward_prerun, ...) CGI::Snapp::ForwardTest.fourth_sub() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.third_sub() call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - Run mode third_sub returned its name get_current_runmode() ok 4 - Got run mode 'third_rm' after forward() 1..4 ok t\redirect.t .. call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x20ef97c)) run_modes(...) start_mode(first_rm) run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x20f7914)) run_modes(...) start_mode(first_rm) param(...) ok 2 - PARAMS => {test.prerun.mode => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) redirect(http://first.net.au/, ...) run_modes(...) prerun_mode(dummy_redirect) header_add(...) header_type(redirect) _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - redirect(http://first.net.au/) during cgiapp_prerun() worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x20f9294)) run_modes(...) start_mode(first_rm) param(...) ok 4 - PARAMS => {test.without.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) redirect(http://second.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 5 - Check url: redirect(http://second.net.au/) without a status worked ok 6 - Check default status: redirect('http://second.net.au/') without a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x20f8db4)) run_modes(...) start_mode(first_rm) param(...) ok 7 - PARAMS => {test.with.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) redirect(http://third.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 8 - Check url: redirect(http://third.net.au/) with a status worked ok 9 - Check explicit status: redirect('http://third.net.au/', '301 Moved Permanently') with a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x20f8f4c)) run_modes(...) start_mode(first_rm) param(...) ok 10 - PARAMS => {test.local.url => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) redirect(login.html, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 11 - Check url: redirect(login.html) without a status worked ok 12 - Check default status: redirect(login.html) without a status worked 1..12 ok t\test.t ...... ok 1 - run() in basic.pl returned real data ok 2 - basic.pl ran 4 tests ok 3 - run() in callbacks.pl returned real data ok 4 - callbacks.pl ran 13 tests ok 5 - run() in defaults.pl returned real data ok 6 - defaults.pl ran 6 tests ok 7 - run() in headers.pl returned real data ok 8 - headers.pl ran 17 tests ok 9 - run() in hook.tests.pl returned real data ok 10 - hook.tests.pl ran 16 tests ok 11 - run() in isa.pl returned real data ok 12 - isa.pl ran 1 test ok 13 - run() in overrides.pl returned real data ok 14 - overrides.pl ran 2 tests # Start test 1 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 2 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 3 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 4 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 5 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 6 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 7 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 8 # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # Start test 9 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 10 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 11 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 12 # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- ok 15 - run() in params.pl returned real data ok 16 - params.pl ran 12 tests ok 17 - run() in psgi.basic.pl returned real data ok 18 - psgi.basic.pl ran 4 tests ok 19 - run() in run.modes.pl returned real data ok 20 - run.modes.pl ran 11 tests ok 21 - run() in subclass.pl returned real data ok 22 - subclass.pl ran 3 tests 1..22 ok All tests successful. Files=3, Tests=38, 12 wallclock secs ( 0.16 usr + 0.08 sys = 0.23 CPU) Result: PASS C:\home\journey\CGI-Snapp-master>perl -v This is perl 5, version 18, subversion 4 (v5.18.4) built for MSWin32-x86-multi-thread-64int Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\journey\CGI-Snapp-master>
Subject: Result3-StrawberryP5-8-9.txt
C:\home\flower\CGI-Snapp-master>prove -v --lib t t\forward.t ... call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x2218010)) run_modes(...) start_mode(first_r_m) run() _determine_output() _query() _query() _determine_run_mode() => first_r_m call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name get_current_runmode() ok 2 - Get run mode 'first_r_m' call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x2282474)) run_modes(...) start_mode(second_rm) run() _determine_output() _query() _query() _determine_run_mode() => second_rm call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.second_sub() forward(third_rm, ...) call_hook(forward_prerun, ...) CGI::Snapp::ForwardTest.fourth_sub() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.third_sub() call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - Run mode third_sub returned its name get_current_runmode() ok 4 - Got run mode 'third_rm' after forward() 1..4 ok t\redirect.t .. call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x2219adc)) run_modes(...) start_mode(first_rm) run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22f7384)) run_modes(...) start_mode(first_rm) param(...) ok 2 - PARAMS => {test.prerun.mode => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) redirect(http://first.net.au/, ...) run_modes(...) prerun_mode(dummy_redirect) header_add(...) header_type(redirect) _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - redirect(http://first.net.au/) during cgiapp_prerun() worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22fc688)) run_modes(...) start_mode(first_rm) param(...) ok 4 - PARAMS => {test.without.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) redirect(http://second.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 5 - Check url: redirect(http://second.net.au/) without a status worked ok 6 - Check default status: redirect('http://second.net.au/') without a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22fbdd0)) run_modes(...) start_mode(first_rm) param(...) ok 7 - PARAMS => {test.with.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) redirect(http://third.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 8 - Check url: redirect(http://third.net.au/) with a status worked ok 9 - Check explicit status: redirect('http://third.net.au/', '301 Moved Perman ently') with a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x22fbd58)) run_modes(...) start_mode(first_rm) param(...) ok 10 - PARAMS => {test.local.url => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) redirect(login.html, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 11 - Check url: redirect(login.html) without a status worked ok 12 - Check default status: redirect(login.html) without a status worked 1..12 ok t\test.t ...... ok 1 - run() in basic.pl returned real data ok 2 - basic.pl ran 4 tests ok 3 - run() in callbacks.pl returned real data ok 4 - callbacks.pl ran 13 tests ok 5 - run() in defaults.pl returned real data ok 6 - defaults.pl ran 6 tests ok 7 - run() in headers.pl returned real data ok 8 - headers.pl ran 17 tests ok 9 - run() in hook.tests.pl returned real data ok 10 - hook.tests.pl ran 16 tests ok 11 - run() in isa.pl returned real data ok 12 - isa.pl ran 1 test ok 13 - run() in overrides.pl returned real data ok 14 - overrides.pl ran 2 tests # Start test 1 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 2 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 3 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 4 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 5 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 6 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 7 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 8 # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # Start test 9 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 10 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 11 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 12 # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- ok 15 - run() in params.pl returned real data ok 16 - params.pl ran 12 tests ok 17 - run() in psgi.basic.pl returned real data ok 18 - psgi.basic.pl ran 4 tests ok 19 - run() in run.modes.pl returned real data ok 20 - run.modes.pl ran 11 tests ok 21 - run() in subclass.pl returned real data ok 22 - subclass.pl ran 3 tests 1..22 ok All tests successful. Files=3, Tests=38, 9 wallclock secs ( 0.11 usr + 0.08 sys = 0.19 CPU) Result: PASS C:\home\flower\CGI-Snapp-master>perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread Copyright 1987-2008, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\flower\CGI-Snapp-master>
Subject: Result2-StrawberryP5-10-1.txt
C:\home\tennis\CGI-Snapp-master>prove -v --lib t t\forward.t ... call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x204a17c)) run_modes(...) start_mode(first_r_m) run() _determine_output() _query() _query() _determine_run_mode() => first_r_m call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name get_current_runmode() ok 2 - Get run mode 'first_r_m' call_hook(init, ...) cgiapp_init() CGI::Snapp::ForwardTest.setup() add_callback(forward_prerun, ...) mode_param(...) _query(CGI=HASH(0x204c6cc)) run_modes(...) start_mode(second_rm) run() _determine_output() _query() _query() _determine_run_mode() => second_rm call_hook(prerun, ...) cgiapp_prerun() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.second_sub() forward(third_rm, ...) call_hook(forward_prerun, ...) CGI::Snapp::ForwardTest.fourth_sub() _generate_output() run_modes(...) CGI::Snapp::ForwardTest.third_sub() call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - Run mode third_sub returned its name get_current_runmode() ok 4 - Got run mode 'third_rm' after forward() 1..4 ok t\redirect.t .. call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x1d4e96c)) run_modes(...) start_mode(first_rm) run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 1 - Run mode first_sub returned its name call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x1d51e7c)) run_modes(...) start_mode(first_rm) param(...) ok 2 - PARAMS => {test.prerun.mode => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) redirect(http://first.net.au/, ...) run_modes(...) prerun_mode(dummy_redirect) header_add(...) header_type(redirect) _generate_output() run_modes(...) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 3 - redirect(http://first.net.au/) during cgiapp_prerun() worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x228537c)) run_modes(...) start_mode(first_rm) param(...) ok 4 - PARAMS => {test.without.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) redirect(http://second.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 5 - Check url: redirect(http://second.net.au/) without a status worked ok 6 - Check default status: redirect('http://second.net.au/') without a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x217dc6c)) run_modes(...) start_mode(first_rm) param(...) ok 7 - PARAMS => {test.with.status => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) param(...) param(...) redirect(http://third.net.au/, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 8 - Check url: redirect(http://third.net.au/) with a status worked ok 9 - Check explicit status: redirect('http://third.net.au/', '301 Moved Perman ently') with a status worked call_hook(init, ...) cgiapp_init() CGI::Snapp::RedirectTest.setup() add_callback(prerun, ...) mode_param(...) _query(CGI=HASH(0x217dbcc)) run_modes(...) start_mode(first_rm) param(...) ok 10 - PARAMS => {test.local.url => 1} worked run() _determine_output() _query() _query() _determine_run_mode() => first_rm call_hook(prerun, ...) CGI::Snapp::RedirectTest.cgiapp_prerun() param(...) _generate_output() run_modes(...) CGI::Snapp::RedirectTest.first_sub() param(...) redirect(login.html, ...) header_add(...) header_type(redirect) call_hook(postrun, ...) cgiapp_postrun() _determine_cgi_header() _query() header_type() header_props(...) call_hook(teardown, ...) teardown() ok 11 - Check url: redirect(login.html) without a status worked ok 12 - Check default status: redirect(login.html) without a status worked 1..12 ok t\test.t ...... ok 1 - run() in basic.pl returned real data ok 2 - basic.pl ran 4 tests ok 3 - run() in callbacks.pl returned real data ok 4 - callbacks.pl ran 13 tests ok 5 - run() in defaults.pl returned real data ok 6 - defaults.pl ran 6 tests ok 7 - run() in headers.pl returned real data ok 8 - headers.pl ran 17 tests ok 9 - run() in hook.tests.pl returned real data ok 10 - hook.tests.pl ran 16 tests ok 11 - run() in isa.pl returned real data ok 12 - isa.pl ran 1 test ok 13 - run() in overrides.pl returned real data ok 14 - overrides.pl ran 2 tests # Start test 1 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 2 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 3 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 4 # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # [ # 1, # 2, # "one", # "two" # ] # -------------------- # Start test 5 # -------------------- # [] # -------------------- # [] # -------------------- # Start test 6 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 7 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 8 # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # [ # 1, # 2, # 3, # 4, # 5, # "five", # "four", # "one", # "three", # "two" # ] # -------------------- # Start test 9 # -------------------- # 5 # -------------------- # 5 # -------------------- # Start test 10 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 11 # -------------------- # undef # -------------------- # undef # -------------------- # Start test 12 # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- # [ # 6, # 7, # "seven", # "six" # ] # -------------------- ok 15 - run() in params.pl returned real data ok 16 - params.pl ran 12 tests ok 17 - run() in psgi.basic.pl returned real data ok 18 - psgi.basic.pl ran 4 tests ok 19 - run() in run.modes.pl returned real data ok 20 - run.modes.pl ran 11 tests ok 21 - run() in subclass.pl returned real data ok 22 - subclass.pl ran 3 tests 1..22 ok All tests successful. Files=3, Tests=38, 10 wallclock secs ( 0.12 usr + 0.03 sys = 0.15 CPU) Result: PASS C:\home\tennis\CGI-Snapp-master>perl -v This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:\home\tennis\CGI-Snapp-master>
From: twata_1 [...] yahoo.co.jp
Hi I'm sorry. I forgot to pass a "-t" option to the prove command. So, I tried: o prove -lvt -I%PERL5LIB% with Srawberry Perl on Windows 7 and test results is below: test passed: v5.8.9 test not passed: v5.10.1, v5.14.4, v5.18.4 Thank you, On 2016-9月-06 火 18:44:34, ron@savage.net.au wrote: Show quoted text
> Hi > > On 07/09/16 00:20, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi! > > > > It seems to me that the prove command does not recognize the > > environment value "PERL5LIB".
> > That's very scary. >
> > So, I tired with Strawberry Perl 5.8.9 on Windows 7: > > > > o prove -lvt -I%PERL5LIB% > > > > and Test passed!!!!!!!!!!!!!! > > All tests successful!!!!!!!!!!!!!!
> > Congratulation. And thanx for persisting! >
> > Thank you, > > > > > > On 2016-9月-05 月 18:50:47, ron@savage.net.au wrote:
> >> Hi > >> > >> Thanx! > >> > >> On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote:
> >>> Queue: CGI-Snapp > >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>> > >>> Hi > >>> > >>> I tried: > >>> > >>> o prove -lv t/default.pl > >>> o prove -lvt > >>> > >>> with Strawberry Perl on Windows 7, and copied & pasted from command > >>> prompt to text files. > >>> Those are attached. > >>> > >>> Oh! debian, I have used it by Kurobox long time ago. > >>> > >>> Thank you, > >>> > >>> On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
> >>>> Hi > >>>> > >>>> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
> >>>>> Queue: CGI-Snapp > >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>> > >>>>> Hi > >>>>> > >>>>> I'm sorry to hear that. > >>>>> > >>>>> AFAIK, for Strawberry Perl on Windows, > >>>>> If one of the various issues is like: > >>>>> > >>>>> Error in tempfile() using template \XXXXXXXXXX: Could not create > >>>>> temp > >>>>> file...
> >>>> > >>>> Nope. Just different results depending on which of these I run: > >>>> o prove -lv t/default.pl > >>>> o prove -lvt (which runs t/test.t which runs default.pl) > >>>> > >>>> The code is in the new repo: https://github.com/ronsavage/CGI- > >>>> Snapp. > >>>> > >>>> BTW: I run Debian stable :-). > >>>> > >>>> Please let me know how you get on. > >>>>
> >>>>> then, Please see below: > >>>>> > >>>>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry > >>>>> Perl > >>>>> 5.12.1 > >>>>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 > >>>>> > >>>>> I hope this helps. > >>>>> Thank you, > >>>>> > >>>>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
> >>>>>> Hi > >>>>>> > >>>>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> >>>>>>> Queue: CGI-Snapp > >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>>>> > >>>>>>> Hi > >>>>>>> > >>>>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing > >>>>>>> CGI::Snapp to use Moo. I expect to release a new version today > >>>>>>> (Sunday).
> >>>>>> > >>>>>> Unfortunately, various issues arose which mean the tests don't > >>>>>> run > >>>>>> without error when driven by t/test.t. When run individually > >>>>>> they > >>>>>> work. > >>>>>> I don't know what's happening, yet. > >>>>>>
> >>>>> > >>>>> > >>>>>
> >>> > >>> > >>>
> > > > > >
From: twata_1 [...] yahoo.co.jp
Hi After all, I tired: set PERL5LIB=%PERL5LIB%;pathto\CGI-Snapp-master\lib prove -lvt -I%PERL5LIB% with Srawberry Perl on Windows 7. v5.10.1, v5.14.4 and v5.18.4 --> "All tests successful." and I tired: prove -lvt -I%PERL5LIB% v5.8.9 --> "All tests successful". Thank you, On 2016-9月-06 火 18:44:34, ron@savage.net.au wrote: Show quoted text
> Hi > > On 07/09/16 00:20, twata_1@yahoo.co.jp via RT wrote:
> > Queue: CGI-Snapp > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > > > > Hi! > > > > It seems to me that the prove command does not recognize the > > environment value "PERL5LIB".
> > That's very scary. >
> > So, I tired with Strawberry Perl 5.8.9 on Windows 7: > > > > o prove -lvt -I%PERL5LIB% > > > > and Test passed!!!!!!!!!!!!!! > > All tests successful!!!!!!!!!!!!!!
> > Congratulation. And thanx for persisting! >
> > Thank you, > > > > > > On 2016-9月-05 月 18:50:47, ron@savage.net.au wrote:
> >> Hi > >> > >> Thanx! > >> > >> On 06/09/16 01:19, twata_1@yahoo.co.jp via RT wrote:
> >>> Queue: CGI-Snapp > >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>> > >>> Hi > >>> > >>> I tried: > >>> > >>> o prove -lv t/default.pl > >>> o prove -lvt > >>> > >>> with Strawberry Perl on Windows 7, and copied & pasted from command > >>> prompt to text files. > >>> Those are attached. > >>> > >>> Oh! debian, I have used it by Kurobox long time ago. > >>> > >>> Thank you, > >>> > >>> On 2016-9月-04 日 03:35:41, ron@savage.net.au wrote:
> >>>> Hi > >>>> > >>>> On 04/09/16 17:17, twata_1@yahoo.co.jp via RT wrote:
> >>>>> Queue: CGI-Snapp > >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>> > >>>>> Hi > >>>>> > >>>>> I'm sorry to hear that. > >>>>> > >>>>> AFAIK, for Strawberry Perl on Windows, > >>>>> If one of the various issues is like: > >>>>> > >>>>> Error in tempfile() using template \XXXXXXXXXX: Could not create > >>>>> temp > >>>>> file...
> >>>> > >>>> Nope. Just different results depending on which of these I run: > >>>> o prove -lv t/default.pl > >>>> o prove -lvt (which runs t/test.t which runs default.pl) > >>>> > >>>> The code is in the new repo: https://github.com/ronsavage/CGI- > >>>> Snapp. > >>>> > >>>> BTW: I run Debian stable :-). > >>>> > >>>> Please let me know how you get on. > >>>>
> >>>>> then, Please see below: > >>>>> > >>>>> Bug #60340 for File-Temp: Fails under -T, Windows 7, Strawberry > >>>>> Perl > >>>>> 5.12.1 > >>>>> https://rt.cpan.org/Public/Bug/Display.html?id=103452 > >>>>> > >>>>> I hope this helps. > >>>>> Thank you, > >>>>> > >>>>> On 2016-9月-04 日 02:36:45, ron@savage.net.au wrote:
> >>>>>> Hi > >>>>>> > >>>>>> On 04/09/16 12:50, ron@savage.net.au via RT wrote:
> >>>>>>> Queue: CGI-Snapp > >>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81241 > > >>>>>>> > >>>>>>> Hi > >>>>>>> > >>>>>>> I've accepted your patch ($many x $thanx!), and I'm re-writing > >>>>>>> CGI::Snapp to use Moo. I expect to release a new version today > >>>>>>> (Sunday).
> >>>>>> > >>>>>> Unfortunately, various issues arose which mean the tests don't > >>>>>> run > >>>>>> without error when driven by t/test.t. When run individually > >>>>>> they > >>>>>> work. > >>>>>> I don't know what's happening, yet. > >>>>>>
> >>>>> > >>>>> > >>>>>
> >>> > >>> > >>>
> > > > > >
Subject: Re: [rt.cpan.org #81241] test.t hangs on Windows
Date: Sun, 11 Sep 2016 11:20:34 +1000
To: bug-CGI-Snapp [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi That's good news about tests passing, and thanx for the effort you've put into this. Time passes.... Success! I've released CGI::Snapp V 2.00 and then 2.01. Please see the Changes file for details, and you'll get the full story. $many x $thanx; -- Ron Savage - savage.net.au
I'm closing this ticket since there has been no feedback, and hence no negative feedback, for V 2.01.