From 3f862d38bd9be90ada17234e0040768b99f39e13 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 3 Oct 2023 12:14:34 +0300 Subject: Sidestep pkg-build tests bus error on macos/homebrew --- bpkg/diagnostics.cxx | 2 +- tests/pkg-build.testscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bpkg/diagnostics.cxx b/bpkg/diagnostics.cxx index 9232d93..cf096d1 100644 --- a/bpkg/diagnostics.cxx +++ b/bpkg/diagnostics.cxx @@ -103,7 +103,7 @@ namespace bpkg void trace_mark_base:: execute (odb::connection&, const char* stmt) { - if (verb >= 5) + if (verb >= 6) static_cast (*this) << stmt; } diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript index 1c0480d..9be2ad7 100644 --- a/tests/pkg-build.testscript +++ b/tests/pkg-build.testscript @@ -5740,7 +5740,7 @@ test.arguments += --sys-no-query # pipe bpkg's stderr through the sed-based pipeline filtering the stream # content and simplify the stderr-matching regular expressions. # - filter = [cmdline] sed -e "'"'s/^(trace: \S+: (SELECT|UPDATE|DELETE|INSERT|BEGIN|COMMIT|ROLLBACK)|mkdir -p).*//'"'" | \ + filter = [cmdline] sed -e "'"'s/^mkdir -p .*//'"'" | \ sed -n -e "'"'s/(.+)/\1/p'"'" >&2 : initial-collection -- cgit v1.1