From 26d853ef3323a7d91582d1c35865edee8f9f17a2 Mon Sep 17 00:00:00 2001 From: Caio Ramos Casimiro Date: Fri, 6 Sep 2024 18:26:23 +0100 Subject: [PATCH] tests(backtraces) adjust symbols regex after a Rust update --- t/01-wasm/directives/006-backtraces_directive.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/t/01-wasm/directives/006-backtraces_directive.t b/t/01-wasm/directives/006-backtraces_directive.t index 1d8bfa977..4fb5298d2 100644 --- a/t/01-wasm/directives/006-backtraces_directive.t +++ b/t/01-wasm/directives/006-backtraces_directive.t @@ -57,7 +57,7 @@ qq{ qr# 1: 0x[0-9a-f]+ - (|hostcalls\.wasm)!rust_panic#, qr# 2: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::rust_panic_with_hook::h[0-9a-f]+#, qr# 3: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#, - qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, + qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, qr# 5: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#, qr# 6: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#, qr# 7: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::filter::::on_http_request_headers::h[0-9a-f]+#, @@ -112,7 +112,7 @@ qq{ qr# 2: 0x[0-9a-f]+ - .*?rust_panic_with_hook#, qr#( at /rustc/[0-9a-f]+/library/std/src/panicking.rs:[0-9]+:[0-9]+)?#, qr# 3: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#, - qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, + qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, qr# 5: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#, qr# 6: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#, qr# 7: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::filter::::on_http_request_headers::h[0-9a-f]+#, @@ -166,7 +166,7 @@ qq{ qr# 2: 0x[0-9a-f]+ - .*?rust_panic_with_hook#, qr#( at /rustc/[0-9a-f]+/library/std/src/panicking.rs:[0-9]+:[0-9]+)?#, qr# 3: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#, - qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, + qr# 4: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#, qr# 5: 0x[0-9a-f]+ - (|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#, qr# 6: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#, qr# 7: 0x[0-9a-f]+ - (|hostcalls\.wasm)!hostcalls::filter::::on_http_request_headers::h[0-9a-f]+#, @@ -259,7 +259,7 @@ qr/500 Internal Server Error/ qr# 0: __rust_start_panic @ 0x[0-9a-f]+#, qr# 1: rust_panic @ 0x[0-9a-f]+#, qr# 2: std::panicking::rust_panic_with_hook::h[0-9a-f]+ @ 0x[0-9a-f]+#, - qr# 4: std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, + qr# 4: std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 5: std::panicking::begin_panic::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 6: hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 7: hostcalls::filter::::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#, @@ -305,7 +305,7 @@ qq{ qr# 1: rust_panic @ 0x[0-9a-f]+#, qr# 2: std::panicking::rust_panic_with_hook::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 3: std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+ @ 0x[0-9a-f]+#, - qr# 4: std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, + qr# 4: std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 5: std::panicking::begin_panic::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 6: hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 7: hostcalls::filter::::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#, @@ -351,7 +351,7 @@ qq{ qr# 1: rust_panic @ 0x[0-9a-f]+#, qr# 2: std::panicking::rust_panic_with_hook::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 3: std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+ @ 0x[0-9a-f]+#, - qr# 4: std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, + qr# 4: std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 5: std::panicking::begin_panic::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 6: hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 7: hostcalls::filter::::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#, @@ -444,7 +444,7 @@ qr/500 Internal Server Error/ qr# 1: rust_panic @ 0x[0-9a-f]+#, qr# 2: std::panicking::rust_panic_with_hook::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 3: std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+ @ 0x[0-9a-f]+#, - qr# 4: std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, + qr# 4: std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 5: std::panicking::begin_panic::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 6: hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+ @ 0x[0-9a-f]+#, qr# 7: hostcalls::filter::::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#,