Changes for version 0.1961 - 2026-11-18

  • Fixed
    • **`report()`'s flow diagram did not link a file named through a symbolic link to the same file named by its real path.** `task()` records `dir` with `getcwd()`, which gives the real path, so a step run in `/tmp/x` where `/tmp` is a link recorded `/private/tmp/x`, and its output `a` was not the `/tmp/x/a` a later step read: the two were drawn with no arrow between them. Each name is now resolved through symbolic links and `..` as far as it exists when `report()` runs, so `x/../a.txt` is also `a.txt` while `x` exists, where the documentation used to say it never was. CPAN testers on Haiku, whose `/tmp` is a link, and on a FreeBSD set up like macOS, whose `TMPDIR` is under the link `/var/folders`, failed `t/11.flow.t` this way, as macOS would have. `t/13.fixes.t` makes the link itself, and fails against 0.196. A module defect.
  • Tests
    • **The tests of `protect` and of an unreadable output asked whether the user was root, instead of whether file modes held.** Under Cygwin, a Windows administrator's backup and restore privileges let it read and write a file whatever its mode, as root can, under a uid other than 0, so 2 subtests of `t/02.fixes.t` and 2 of `t/05.features.t` failed on a Cygwin perl 5.44.0 smoker. They now try to open a file of the mode they rely on, with `modes_ignored` from the new `t/lib/Platform.pm`, and skip when that succeeds. The module was right; for such a user `protect` protects nothing, as for root, and the documentation now says so.
    • **The test of `cpu.user` assumed that every platform but MSWin32 counts a finished child's CPU time.** On GNU/Hurd, glibc's `times()` gives 0 for it unless glibc was built with `HAVE_HURD_PROC_GETCHILDREN_RUSAGE`, and on GNU/Hurd 0.9 smokers with perls 5.24.4 and 5.44.0 `cpu.user` was 0 and 1 subtest of `t/05.features.t` failed. The test now runs a child that spins and checks that `times()` counted it, with `children_cpu_unreported` from `t/lib/Platform.pm`, and skips when it did not. The module reports what `times()` gives; the documentation of `cpu.user` now names the Hurd.

Modules

easy, simple workflow manager (and logger); for keeping track of and debugging large and complex shell command workflows