perl-Test2-Plugin-FauxHomeDir - Setup a faux home directory for tests

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package filename perl-Test2-Plugin-FauxHomeDir-0.20.0-2.mga7.noarch.rpm
Package name perl-Test2-Plugin-FauxHomeDir
Package version 0.20.0
Package release 2.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
License GPLv1+ or Artistic
Maintainer -
Download size 21.90 KB
Installed size 32.97 KB
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.


Package Version Architecture Repository
perl-Test2-Plugin-FauxHomeDir-0.20.0-2.mga7.noarch.rpm 0.20.0 noarch Mageia Core
perl-Test2-Plugin-FauxHomeDir - - -


Name Value
perl >= 0:5.008001
perl(File::Path) -
perl(File::Spec) -
perl(File::Temp) -
perl(Test2::API) >= 1.302.15
perl(if) -
perl(strict) -
perl(warnings) -
perl-base >= 2:5.28.0


Name Value
perl(Test2::Plugin::FauxHomeDir) == 0.20.0
perl-Test2-Plugin-FauxHomeDir == 0.20.0-2.mga7


Type URL
Binary Package perl-Test2-Plugin-FauxHomeDir-0.20.0-2.mga7.noarch.rpm
Source Package perl-Test2-Plugin-FauxHomeDir-0.20.0-2.mga7.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Test2-Plugin-FauxHomeDir rpm package:
    # urpmi perl-Test2-Plugin-FauxHomeDir




2018-09-20 - umeabot <umeabot> 0.20.0-2.mga7
(not released yet)
+ Revision: 1286960
- Mageia 7 Mass Rebuild
2017-08-07 - shlomif <shlomif> 0.20.0-1.mga7
+ Revision: 1138562
- imported package perl-Test2-Plugin-FauxHomeDir
2017-08-07 - cpan2dist 0.02-1mga
- initial mageia release, generated with cpan2dist

See Also

Package Description
perl-Test2-Plugin-NoWarnings-0.70.0-1.mga7.noarch.rpm Fail if tests warn
perl-Test2-Suite-0.0.122-1.mga8.noarch.rpm Internal representation of an ordered subset
perl-TestML-0.520.0-4.mga7.noarch.rpm Module::Install Support for TestML
perl-Text-ASCIIPipe-1.1.0-8.mga7.noarch.rpm Helper for processing multiple text files in a stream (through a pipe, usually)
perl-Text-ASCIITable-0.220.0-3.mga7.noarch.rpm Create a nice formatted table using ASCII characters
perl-Text-Abbrev-1.20.0-8.mga7.noarch.rpm Builds hash of all possible abbreviations
perl-Text-Aligner-0.130.0-3.mga7.noarch.rpm Text::Aligner Perl module
perl-Text-Aspell-0.90.0-20.mga7.i586.rpm Perl interface to the GNU Aspell library
perl-Text-Autoformat-1.740.0-3.mga7.noarch.rpm Automatic text wrapping and reformatting
perl-Text-Balanced-2.30.0-4.mga7.noarch.rpm Extract balanced-delimiter substrings
perl-Text-Banner-2.10.0-1.mga7.noarch.rpm Create text resembling Unix banner command
perl-Text-BibTeX-0.880.0-1.mga8.i586.rpm Interface to read and parse BibTeX files
perl-Text-Brew-0.20.0-8.mga7.noarch.rpm An implementation of the Brew edit distance
perl-Text-CSV-2.0.0-1.mga8.noarch.rpm Manipulate comma-separated value strings
perl-Text-CSV-Slurp-1.30.0-3.mga7.noarch.rpm Convert CSV into an array of hashes, or an array of hashes into CSV