From b97b24a33c0d24e33f85b2fd9224dba0fadea98c Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 11 Oct 2021 16:35:37 +0200 Subject: [PATCH] [Test] CI: fix rspamd executable path --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index fb211609f..3f7c5b5ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -194,7 +194,7 @@ steps: - > for core in $core_files; do - exe=$(gdb --batch -ex 'info proc mappings' -c $core | awk 'h {print $5; exit}; /objfile/ {h=1}'); + exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}'); gdb --batch -ex 'bt' -c $core $exe; echo '---'; done - exit $EXIT_CODE -- 2.39.5