]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Run functional tests using root user 4873/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 15 Mar 2024 14:05:42 +0000 (14:05 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 15 Mar 2024 14:05:42 +0000 (14:05 +0000)
.github/workflows/ci_rspamd.yml

index 9496d2f29b2c5d1bacd7f416cada277782fd22cd..04a6eff34b491bbcc60880bcb9b15f4758465a74 100644 (file)
@@ -67,7 +67,7 @@ jobs:
           ulimit -c unlimited
           ulimit -s unlimited
           set +e
-          RSPAMD_INSTALLROOT=${GITHUB_WORKSPACE}/install robot --removekeywords wuks --exclude isbroken ${GITHUB_WORKSPACE}/src/test/functional/cases; EXIT_CODE=$?
+          RSPAMD_INSTALLROOT=${GITHUB_WORKSPACE}/install robot  -v RSPAMD_USER:root -v RSPAMD_GROUP:root --removekeywords wuks --exclude isbroken ${GITHUB_WORKSPACE}/src/test/functional/cases; EXIT_CODE=$?
           set -e
           core_files=$(find /var/tmp/ -name '*.core')
           for core in $core_files; do exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}'); gdb --batch -ex 'bt' -c $core $exe; echo '---'; done