New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commit 2359510ddb causes test failures on AFS #8362
Comments
From peter@tweety.homeip.netCreated by peter@tweety.homeip.netThis is a bug report for perl from peter@tweety.homeip.net, ----------------------------------------------------------------- Change 22258 causes ext/IO/t/io_unix.t to fail and/or hang when The line affected: <
This means that when attempting to open the Unix domain socket: $sock = IO::Socket::UNIX->new(Peer => it is happening on AFS instead of /tmp and Unix domain sockets are not It would be helpful if this could be changed back to use /tmp, if only Perl Info
|
From @pjscottI screwed up on the account this bug was sent from; that email address -- |
From guest@guest.guest.xxxxxxxxAfter 2 days of wondering why my 'make test' hangs at io_unix.t and Just another vote for this being fixed. That's what I get for running 'make test' for the first time in 12 years. |
The RT System itself - Status changed from 'new' to 'open' |
From @smpeters
Unfortunately, I doubt that any code changed by change #22258 will be |
From @pjscottOn Thu, 04 May 2006 04:57:03 -0700, Steve Peters via RT wrote:
$Config{afs} is all you need when building perl. This patch would do it: Inline Patch--- ext/IO/t/io_unix.t.orig 2006-05-04 05:55:34.000001000 -0700
+++ ext/IO/t/io_unix.t 2006-05-04 05:56:38.000001000 -0700
@@ -37,7 +37,7 @@
}
}
-$PATH = "sock-$$";
+$PATH = $Config{'afs'} eq 'true' ? "/tmp/sock-$$" : "sock-$$";
# Test if we can create the file within the tmp directory
if (-e $PATH or not open(TEST, ">$PATH") and $^O ne 'os2') {
-- Peter Scott |
From @iabynOn Thu, May 04, 2006 at 05:59:43AM -0700, Peter Scott wrote:
But $Config{afs} just says that AFS is (probably) running on this machine; Also, the current test code already falls back to using /tmp (or -- |
From mjtg@cam.ac.ukDave Mitchell <davem@iabyn.com> wrote
If that's the case, and the patch isn't needed, why is the test failing? Mike Guy |
From @pjscottAt 06:24 AM 5/4/2006, Dave Mitchell via RT wrote:
True; but it is a reasonable heuristic short of invoking Cwd::abs_path
Unfortunately, on AFS it takes an infinite amount of time to fail. Or -- |
p5p@spam.wizbit.be - Status changed from 'open' to 'stalled' |
This issue's name refers to a commit number from an old version control system. This is the commit in question in git:
Changing subject to reflect that. |
Migrated from rt.perl.org#38698 (status was 'stalled')
Searchable as RT38698$
The text was updated successfully, but these errors were encountered: