Skip to content

Commit

Permalink
chore(*) adjust backtrace tests affected by a Rust update
Browse files Browse the repository at this point in the history
  • Loading branch information
casimiro committed Sep 6, 2024
1 parent 0c3632a commit 4741b42
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions t/01-wasm/directives/006-backtraces_directive.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ qq{
qr# 1: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!rust_panic#,
qr# 2: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::panicking::rust_panic_with_hook::h[0-9a-f]+#,
qr# 3: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 5: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#,
qr# 6: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#,
qr# 7: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::filter::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+#,
Expand Down Expand Up @@ -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]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 5: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#,
qr# 6: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#,
qr# 7: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::filter::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+#,
Expand Down Expand Up @@ -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]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::\{\{closure\}\}::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys_common::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 4: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::sys::backtrace::__rust_end_short_backtrace::h[0-9a-f]+#,
qr# 5: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!std::panicking::begin_panic::h[0-9a-f]+#,
qr# 6: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::types::test_http::TestHttp::exec_tests::h[0-9a-f]+#,
qr# 7: 0x[0-9a-f]+ - (<unknown>|hostcalls\.wasm)!hostcalls::filter::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+#,
Expand Down Expand Up @@ -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::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#,
Expand Down Expand Up @@ -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::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#,
Expand Down Expand Up @@ -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::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#,
Expand Down Expand Up @@ -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::<impl proxy_wasm::traits::HttpContext for hostcalls::types::test_http::TestHttp>::on_http_request_headers::h[0-9a-f]+ @ 0x[0-9a-f]+#,
Expand Down

0 comments on commit 4741b42

Please sign in to comment.