Commit 2e61b3233b for perl
commit 2e61b3233bf6f479f85448e95acb0845d3d1158a
Author: Sevan Janiyan <venture37@geeklan.co.uk>
Date: Fri Sep 25 23:45:40 2026 +0100
t/run/dtrace.t: file load tests fix
Following on from the change to t/run/dtrace.t in commit 8b69401c2ba8d1ced2e17c24d6b51a7ce3882664
the output of the test changed. Matched the expected output so tests
8 and 9 pass again.
ok 8 - loading-file, loaded-file probes
ok 9 - loading-file, loaded-file probes
Tested with macOS 26 on Intel (Darwin 25)
Part of issue #24860
diff --git a/t/run/dtrace.t b/t/run/dtrace.t
index b66736ff19..656c319533 100644
--- a/t/run/dtrace.t
+++ b/t/run/dtrace.t
@@ -146,8 +146,8 @@ D_SCRIPT
# the original test made sure that each file generated a loading-file then a loaded-file,
# but that had a race condition when the kernel would push the perl process onto a different
# CPU, so the DTrace output would appear out of order
- qr{loading-file <strict\.pm>.*loading-file <HTTP/Tiny\.pm>.*loading-file <run/dtrace\.pl>}s,
- qr{loaded-file <strict\.pm>.*loaded-file <HTTP/Tiny\.pm>.*loaded-file <run/dtrace\.pl>}s,
+ qr{loading-file <strict\.pm>.*loading-file <HTTP/Tiny\.pm>.*loading-file <./run/dtrace\.pl>}s,
+ qr{loaded-file <strict\.pm>.*loaded-file <HTTP/Tiny\.pm>.*loaded-file <./run/dtrace\.pl>}s,
],
'loading-file, loaded-file probes',
);