Description: Tests fail if /home/${USER} is not present in build chroot
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Abstract:
 For the chroot builds in Debian, we instantiate the SftpServer
 class with a given "home" parameter.
 .
 The $ENV{HOME} variable has to be set to a fake-home/${USER} in
 debian/rules to make this patch fully functional.

--- a/t/00-use.t
+++ b/t/00-use.t
@@ -4,7 +4,7 @@
 
 ok(1);
 
-my $sftp = Net::SFTP::SftpServer->new();
+my $sftp = Net::SFTP::SftpServer->new(home => $ENV{HOME});
 
 is( ref $sftp, 'Net::SFTP::SftpServer', 'Sftp class created: ' . ref $sftp);
 
