Skip Menu |

This queue is for tickets about the Fuse CPAN distribution.

Report information
The Basics
Id: 17695
Status: resolved
Priority: 0/
Queue: Fuse

People
Owner: Nobody in particular
Requestors: schmorp [...] schmorp.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: complete test suite failure
Date: Fri, 17 Feb 2006 13:25:38 +0100
To: bug-Fuse [...] rt.cpan.org
From: Marc Lehmann <schmorp [...] schmorp.de>
On install, I get: Failed 20/20 test scripts, 0.00% okay. 2/4 subtests failed, 50.00% okay. Most tests output: test/chmod.......sh: Syntax error: Bad fd number The reason is this: [pid 11368] execve("/bin/sh", ["sh", "-c", "ls /tmp/fusemnt-root >&/dev/null"], [/* 76 vars */]) = 0 And indeed /dev/null is not a valid fd number. -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
From: ANDREWC [...] cpan.org
On Fri Feb 17 07:27:56 2006, schmorp@schmorp.de wrote: Show quoted text
> > The reason is this: > > [pid 11368] execve("/bin/sh", ["sh", "-c", "ls /tmp/fusemnt-root
> >&/dev/null"], [/* 76 vars */]) = 0
> > And indeed /dev/null is not a valid fd number.
The fix is a simple one-liner to the bundle's test::helper. See attached.
diff -rU2 Fuse-0.07.ORIG/test/helper.pm Fuse-0.07/test/helper.pm --- Fuse-0.07.ORIG/test/helper.pm 2006-05-23 16:11:23.000000000 +0100 +++ Fuse-0.07/test/helper.pm 2006-11-29 11:39:55.154137250 +0000 @@ -21,5 +21,5 @@ } } - system("ls $_point >&/dev/null"); + system("ls $_point >/dev/null"); $reject = 1 if (POSIX::WEXITSTATUS($?)); die "not properly mounted\n" if $reject;
Subject: Re: [rt.cpan.org #17695] complete test suite failure
Date: Wed, 29 Nov 2006 14:30:44 +0100
To: via RT <bug-Fuse [...] rt.cpan.org>
From: Dobrica Pavlinusic <dpavlin [...] rot13.org>
On Wed, Nov 29, 2006 at 06:45:57AM -0500, via RT wrote: Show quoted text
> The fix is a simple one-liner to the bundle's test::helper. See attached.
Thanks. This will be included in version 0.08 which is on the way to CPAN as I type this. -- Dobrica Pavlinusic 2share!2flame dpavlin@rot13.org Unix addict. Internet consultant. http://www.rot13.org/~dpavlin
On Wed Nov 29 08:31:50 2006, dpavlin@rot13.org wrote: Show quoted text
> > Thanks. This will be included in version 0.08 which is on the way to > CPAN as I type this.
Thanks for including it. 0.08 worked fine for me and the tests now run fine on Ubuntu/Edgy/i686 and Debian/Etch/amd64. Hope it's OK to mark this resolved.
Great. Thanks for your effort to bring Ubunt users on board without a pain :-)