summaryrefslogtreecommitdiff
path: root/pp_proto.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-03-07 14:42:05 +0100
committerYves Orton <demerphq@gmail.com>2022-03-07 16:27:24 +0100
commitebd227f24001c3df0f1d7cf2cc9041fe9392f818 (patch)
tree30e44449e03a3db94ab859c7cad05fa9e2301766 /pp_proto.h
parent8b03aeb95ab72abdb2fa40f2d1196ce42f34708d (diff)
downloadperl-ebd227f24001c3df0f1d7cf2cc9041fe9392f818.tar.gz
t/op/magic.t - Issue #19504 - fixup tests for utf8 $0
Since PR #19334 was merged the tests for it are failing. This should fix them. I am taking the perspective based on the broken previous tests that that on some systems /proc/$$/commandline returns a trailing null. This fixes the code to read /proc/$$/comandline to chop the null off if it is there so the tests can be agnostic to that. At the same time I have fixed the tests a bit to not use regexen where they aren't needed and to avoid a test count issue in the skip logic, and also to produce better errors if the code to read /proc/$$/commandline fails.
Diffstat (limited to 'pp_proto.h')
0 files changed, 0 insertions, 0 deletions