- Fix the subdir(), read(), and write() methods to handle
the case when the first element in an array-reference file
name is an absolute path name.
- Fix writable() so that it only records errors from chmod()
on files, not exit with no_result().
- Doc changes to make some of the variables in the SYNOPSIS
look like Perl variables.
- Add a Test::Cmd::Common module that sub-classes Test::Cmd to
provide common exception-handling, eliminating the need for
everyone to roll their own fail()/no_result() logic for common
errors.
- Update Test::Cmd documentation to add explicit examples of
using Test::Cmd in conjunction with Test::Harness, Test::Unit,
and Aegis. Mention that Test::Cmd::Common is available.
Changes: The run() method has been fixed so that it can be used to
execute a subsidiary executable or script that's not in the same
interpreted language as the script being tested.
Changelog
1.03 Sat Jun 9 16:57:16 CDT 2001
- Make specification of an 'interpreter' to the run() method
independent of whether a 'prog' has been specified.
- Actually store the absolute path to a workdir specified as a
relative path, as advertised.
(Thanks to Jonathan Ross <Jonathan.C.Ross@fmr.com> for
finding this bug and contributing a patch.)
1.02
- Small fix to make match() backwards compatible to Perl 5.003.
- Add diff_exact() and diff_regex() methods for returning
UNIX diff(1)-like output from file comparisons.
- Accomodate $TMPDIR specifications that vary from Cwd::cwd()
due to symbolic links or omission of NT drive letters.