aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-10-03 12:14:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-10-03 12:14:34 +0300
commit3f862d38bd9be90ada17234e0040768b99f39e13 (patch)
tree8264960164a6886580126bd4ea8c3f2e79193ca4
parent0729fb20fc28329012ee3e9ec68b280d329f4cb4 (diff)
Sidestep pkg-build tests bus error on macos/homebrew
-rw-r--r--bpkg/diagnostics.cxx2
-rw-r--r--tests/pkg-build.testscript2
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<trace_mark&> (*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