Package : perl-Test2-Plugin-FauxHomeDir > RPM : perl-Test2-Plugin-FauxHomeDir-0.20.0-2.mga7.src.rpm

Basic items

Name perl-Test2-Plugin-FauxHomeDir
Version 0.20.0
Release 2.mga7
URL http://metacpan.org/release/Test2-Plugin-FauxHomeDir
Group Development/Perl
Summary Setup a faux home directory for tests
Size 18KB
Arch noarch
License GPLv1+ or Artistic

Description

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.

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2018-09-20 15:53:13
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie