[prev in list] [next in list] [prev in thread] [next in thread]
List: perl5-changes
Subject: [Perl/perl5] 72d0a0: t/op/magic.t: handle busybox ps
From: Tony Cook via perl5-changes <perl5-changes () perl ! org>
Date: 2023-08-23 0:07:17
Message-ID: Perl/perl5/push/refs/heads/blead/abe403-72d0a0 () github ! com
[Download RAW message or body]
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 72d0a0a0eaacc085760906b83d9e509f553fbb80
https://github.com/Perl/perl5/commit/72d0a0a0eaacc085760906b83d9e509f553fbb80
Author: Tony Cook <tony@develop-help.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M t/op/magic.t
Log Message:
-----------
t/op/magic.t: handle busybox ps
There were two problems here:
- busybox ps doesn't support the ps -p option and produces an error
and fails when it sees it. This does no harm beyond noise.
- busybox ps ignores a PID parameter, always producing a complete
list of processes, so the like()s around line 430 would include the
entire ps list in their NAME values, producing a bunch of noise that
TEST (but not harness) chokes on.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic