Bug#788746: libnet-sftp-sftpserver-perl: test failure when home directory doesn't exist
Niko Tyni
ntyni at debian.org
Sun Jun 14 18:09:59 UTC 2015
Package: libnet-sftp-sftpserver-perl
Version: 1.1.0-3
User: debian-perl at lists.debian.org
Usertags: autopkgtest
This package failed its autopkgtest checks on ci.debian.net.
>From <http://ci.debian.net/packages/libn/libnet-sftp-sftpserver-perl/>:
t/00-use.t ..
1..2
ok 1
# Looks like you planned 2 tests but ran 1.
# Looks like your test exited with 1 just after 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
It looks like Net::SFTP::SftpServer::new() falls back to /home/$USER
for the home directory unless a 'home' argument is passed in. If this
directory doesn't exist, new() will fail and so will the test suite.
Perhaps t/00-use.t should create a temporary directory and pass that as
a fake mountpoint for home directories?
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list