test: use a less restrictive portable profile when running w/ sanitizers
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 30 Sep 2021 12:14:19 +0000 (14:14 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 10 Mar 2022 12:54:30 +0000 (12:54 +0000)
commit9dbdd33ffa824934962ebe61d03a9f727a1c416c
tree75cc834dab875420a422d71a6e88eb8134d1ef85
parent494652d95c620f0191f5c7c8f30956e9e98dd62b
test: use a less restrictive portable profile when running w/ sanitizers

Since f833df3 we now actually use the seccomp rules defined in portable
profiles. However, the default one is too restrictive for sanitizers, as
it blocks certain syscall required by LSan. Mitigate this by using the
'trusted' profile when running TEST-29-PORTABLE under sanitizers.
test/units/testsuite-29.sh