diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-06-03 13:26:31 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-06-21 08:59:00 +0200 |
commit | 17c017a51cc9557d7d50c5113b67db8442762c56 (patch) | |
tree | f662058cafbe5fe2cf14ca7a798e27412bb06b2c /MANIFEST | |
parent | 2ca571f439610d1ce38c8fbcb4bb638b2d881be1 (diff) | |
download | perl-17c017a51cc9557d7d50c5113b67db8442762c56.tar.gz |
Simplify lib/File/stat.t by using a tempfile as the test victim.
The previous code had got very gnarly trying to use a file from the
distribution for the test file, attempting to cope with
1) Other programs reading the file and hence the atime updating
2) The perl interpreter reading the file and hence the atime updating :-)
3) Building with -Dmksymlinks meaning that the file is a symlink
All these problems and work arounds simply *vanish* if we use a tempfile.
This will also enable us to change its mode in the future for better testing.
Diffstat (limited to 'MANIFEST')
0 files changed, 0 insertions, 0 deletions