This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify abs2rel.t.
authorCraig A. Berry <craigberry@mac.com>
Sun, 9 Nov 2014 03:16:12 +0000 (21:16 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sun, 9 Nov 2014 14:41:46 +0000 (08:41 -0600)
commita0dc9691937ad77060951167326f14e544e5cc97
tree764c2a3ff61b23bad88cf72f517c234190e43a90
parent44480951b76939c88af4b5ca1569a41062065177
Simplify abs2rel.t.

Factor out all the things that were common for the different test
cases (which was everything except the filename).  And use made-up
names that indicate what's being tested rather than special system
filenames commonly found on Unix systems.  Otherwise, if, for
example, a test for "'init.d' is a directory" fails, you'd be
wondering whether something is wrong with your system rather than
looking for problems in File::Spec, which is what we're testing.
dist/PathTools/t/abs2rel.t