[PATCH] pc.test: Fix up order of strace messages again

Helge Deller deller at gmx.de
Tue Jan 31 19:49:01 UTC 2023


It seems I managed to swap two lines with my last patch.
This fixes it up again and brings it in the correct logical order.

There is no functional change. The testcase succeeds in both
cases.

Fixes: 1b828bb0f48a ("hppa: Fix pc.test testcase on hppa architecture")
Signed-off-by: Helge Deller <deller at gmx.de>


diff --git a/tests/pc.test b/tests/pc.test
index 7da0d6b0c..b70669eab 100755
--- a/tests/pc.test
+++ b/tests/pc.test
@@ -31,8 +31,8 @@ addr="$(echo "$ip" |sed -r 's/^0+//')" && addr=${addr%?} &&

 cat > "$EXP" << __EOF__
 \\[[[:xdigit:]]{$len}\\] munmap\\(0x[[:xdigit:]]+, 0\\) += -1 .*
-\\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
 \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr[[:xdigit:]]\\} ---
+\\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
 \\[\\?{$len}\\] \\+\\+\\+ exited with 0 \\+\\+\\+
 __EOF__



More information about the Strace-devel mailing list