diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 14:05:42 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 14:05:42 +0000 |
commit | 5e13c2e31441e4e75ae537179ba4152a26e70a82 (patch) | |
tree | 70f06e95271c613085f02c47fc17f35e0fe2e3c0 /.github | |
parent | fa4d299b3eeefd669d8e50f6ebb905fe251743cc (diff) | |
download | rspamd-5e13c2e31441e4e75ae537179ba4152a26e70a82.tar.gz rspamd-5e13c2e31441e4e75ae537179ba4152a26e70a82.zip |
[Test] Run functional tests using root user
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci_rspamd.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci_rspamd.yml b/.github/workflows/ci_rspamd.yml index 9496d2f29..04a6eff34 100644 --- a/.github/workflows/ci_rspamd.yml +++ b/.github/workflows/ci_rspamd.yml @@ -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 |