Refactor filenames.t to use unlike() and cmp_ok() for better diagnostics.
authorNicholas Clark <nick@ccl4.org>
Tue, 4 Jan 2011 08:29:35 +0000 (08:29 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 4 Jan 2011 08:29:35 +0000 (08:29 +0000)
commit7fbcd92047c47e4c2ab139db2ac997a3227b8312
tree61e0ef643204a09ab0814f798798ae465b6b8fdc
parentf34675060e95e4769b1cbde2b8c8a509667a6cea
Refactor filenames.t to use unlike() and cmp_ok() for better diagnostics.

Also, use regexs in place of the loops over @dont and @more_dont, the lists
of Win32 (was DOS (was CP/M)) reserved device filenames and of disallowed
characters. This makes the intent clearer, at the cost of some runtime.
t/porting/filenames.t