Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 92859
Status: new
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: fraserbn [...] gmail.com
Cc:
AdminCc:

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



Subject: [PATCH] t/UNIX_test.t fails on Android
Howdy! The reason that it fails is because the test is using POSIX::tmpnam(), which on Android returns something like '/tmp/tmp.0.fvbH12534'. Single problem with that: android doesn't actually have a /tmp directory. This is an issue with android's libc[0]. This can be fixed easily by switching to File::Temp, which does the right thing for systems without /tmp. [0] https://github.com/rapid7/meterpreter/blob/master/source/bionic/libc/stdio/tmpnam.c which uses P_tmpdir, and that's defined as "/tmp" in https://github.com/rapid7/meterpreter/blob/5e24206d510a48db284d5f399a6951cd1b4c754b/source/bionic/libc/include/stdio.h