diff options
author | Tony Cook <tony@develop-help.com> | 2022-06-30 11:53:08 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-07-01 10:14:52 +1000 |
commit | 855c15d32d2f655b85154db5fdce83aca56dd106 (patch) | |
tree | aa7b5a12ebe968fc7391619bd17ae34082f82dbe /t/op | |
parent | b52cb8576e7432bf7e962089e9e54451381968c8 (diff) | |
download | perl-855c15d32d2f655b85154db5fdce83aca56dd106.tar.gz |
workaround an apparent bug with setproctitle() on DragonflyBSD
The sequence of calls to setproctitle() seems to mess up some internal
OS state, which ends up making the more fundamental $0 tests fail
later in the file.
Reported upstream as https://bugs.dragonflybsd.org/issues/3319
Fixes #19894
Diffstat (limited to 't/op')
-rw-r--r-- | t/op/magic.t | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/t/op/magic.t b/t/op/magic.t index 2004a5055c..b91c4d9c03 100644 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -434,8 +434,13 @@ EOP } # Check that assigning to $0 properly handles UTF-8-stored strings: +SKIP: { - + # setproctitle() misbehaves on dragonfly + # https://bugs.dragonflybsd.org/issues/3319 + # https://github.com/Perl/perl5/issues/19894 + skip "setproctitle() is flaky on DragonflyBSD", 11 + if $^O eq "dragonfly"; # Test both ASCII and EBCDIC systems: my $char = chr( utf8::native_to_unicode(0xe9) ); |