commit b97b24a: [Test] CI: fix rspamd executable path

Andrew Lewis nerf at judo.za.org
Mon Oct 11 14:56:04 UTC 2021


Author: Andrew Lewis
Date: 2021-10-11 16:35:37 +0200
URL: https://github.com/rspamd/rspamd/commit/b97b24a33c0d24e33f85b2fd9224dba0fadea98c (refs/pull/3932/head)

[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


More information about the Commits mailing list