Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test2-Plugin-FauxHomeDir | Distribution: Mageia |
Version: 0.60.0 | Vendor: Mageia.Org |
Release: 2.mga9 | Build date: Mon Mar 21 15:46:37 2022 |
Group: Development/Perl | Build host: localhost |
Size: 38187 | Source RPM: perl-Test2-Plugin-FauxHomeDir-0.60.0-2.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Test2-Plugin-FauxHomeDir | |
Summary: Setup a faux home directory for tests |
This module sets up a faux home directory for tests. The home directory is empty, and will be removed when the test completes. This can be helpful when you are writing tests that may be reading from the real user configuration files, or if it writes output to the user home directory. At the moment this module accomplishes this by setting the operating system appropriate environment variables. In the future, it may hook into some of the other methods used for determining home directories (such as 'getpwuid' and friends). There are many ways of getting around this faux module and getting the real home directory (especially from C). But if your code uses standard Perl interfaces then this plugin should fool your code okay. This module sets the native environment variables for the home directory on your platform. That means on Windows 'USERPROFILE', 'HOMEDRIVE' and 'HOMEPATH' will be set, but 'HOME' will not. This is important because your testing environment should match as closely as possible what the actual environment will look like.
GPLv1+ or Artistic
* Mon Mar 21 2022 umeabot <umeabot> 0.60.0-2.mga9 + Revision: 1814418 - Mageia 9 Mass Rebuild * Wed Apr 28 2021 tv <tv> 0.60.0-1.mga9 + Revision: 1720213 - update to 0.06
/usr/share/doc/perl-Test2-Plugin-FauxHomeDir /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/Changes /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/INSTALL /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/LICENSE /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/META.json /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/META.yml /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/MYMETA.yml /usr/share/doc/perl-Test2-Plugin-FauxHomeDir/README /usr/share/man/man3/Test2::Plugin::FauxHomeDir.3pm.xz /usr/share/perl5/vendor_perl/Test2 /usr/share/perl5/vendor_perl/Test2/Plugin /usr/share/perl5/vendor_perl/Test2/Plugin/FauxHomeDir.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:05:03 2025