diff --git a/t/002-content.t b/t/002-content.t index 66ab5df9..706083a2 100644 --- a/t/002-content.t +++ b/t/002-content.t @@ -76,8 +76,8 @@ Yay! 123 GET /lua --- response_body_like: 500 Internal Server Error --- error_code: 500 ---- error_log -content_by_lua(nginx.conf:39):1: attempt to call field 'echo' (a nil value) +--- error_log eval +qr/content_by_lua\(nginx\.conf:\d+\):1: attempt to call field 'echo' \(a nil value\)/ diff --git a/t/082-body-filter.t b/t/082-body-filter.t index c6c70f20..3f7b6da8 100644 --- a/t/082-body-filter.t +++ b/t/082-body-filter.t @@ -700,8 +700,10 @@ F(ngx_http_write_filter) { } } ---- stap_out eval -("seen flush buf.\n" x 10) . "seen last buf.\n" +--- stap_out_like eval +qr/^(?:seen flush buf\. +){10,}seen last buf\. +$/ --- stap2 global active = 1