Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (1m)  pkgsrc-2024Q1 (6d)  pkgsrc-2023Q4 (52d)  pkgsrc-2023Q2 (85d)  pkgsrc-2023Q3 (164d) 

2024-05-23 13:59:56 UTC Now

2009-01-11 13:42:03 UTC MAIN commitmail json YAML

Import p5-Test-TempDir version 0.04.

Test::TempDir provides temporary directory creation with testing in mind.

The differences between using this and using File::Temp are:

    * If t/tmp is available (writable, creatable, etc) it's preferred
      over $ENV{TMPDIR} etc. Otherwise a temporary directory will be
      used.
      This is temp_root
    * Lockfiles are used on t/tmp, to prevent race conditions when
      running under a parallel test harness.
    * The temp_root is cleaned at the end of a test run, but not
      if tests failed.
    * temp_root is emptied at the begining of a test run unconditionally.
    * The default policy is not to clean the individual tempfiles
      and tempdirs within temp_root, in order to aid in debugging of
      failed tests.


Status:

Vendor Tag: TNF
Release Tags: pkgsrc-base

(he)