From 1fb0e0a9f95563e972c1726f986e58b64c2e5277 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 29 Aug 2025 20:38:53 +0000 Subject: [PATCH] t/ipc: enable autoflush for warnings I have no idea what I was thinking when I disabled autoflush in this test, but it should make the test more reliable when checking warnings. --- t/ipc.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/ipc.t b/t/ipc.t index fa1b04051..0ebe0417f 100644 --- a/t/ipc.t +++ b/t/ipc.t @@ -102,7 +102,7 @@ pipe(my $ra, my $wa); pipe(my $rb, my $wb); pipe(my $rc, my $wc); open my $warn, '+>', undef; -$warn->autoflush(0); +$warn->autoflush(1); local $SIG{__WARN__} = sub { print $warn "PID:$$ ", @_ }; my $big = try_cat('COPYING') || BAIL_OUT "try_cat(COPYING): $!"; -- 2.47.3