use File::Copy;
use File::Path;
use File::Temp;
+use Cwd;
BEGIN { use_ok "App::FatPacker", "" }
copy $_, "$tempdir/lib/$_" or die "copy failed: $!";
}
+my $cwd = getcwd;
chdir $tempdir;
my $fp = App::FatPacker->new;
no warnings 'once';
ok $t::mod::a::foo eq 'bar';
}
+
+# moving away from the dir so it could be deleted
+chdir $cwd;