test-execute: reenable the test with sanitizers
This commit is contained in:
committed by
Frantisek Sumsal
parent
4840da2fdf
commit
754737ddc3
@@ -1611,10 +1611,6 @@ TEST(run_tests_unprivileged) {
|
||||
static int intro(void) {
|
||||
int r;
|
||||
|
||||
#if HAS_FEATURE_ADDRESS_SANITIZER
|
||||
if (strstr_ptr(ci_environment(), "travis") || strstr_ptr(ci_environment(), "github-actions"))
|
||||
return log_tests_skipped("Running on Travis CI/GH Actions under ASan, see https://github.com/systemd/systemd/issues/10696");
|
||||
#endif
|
||||
/* It is needed otherwise cgroup creation fails */
|
||||
if (geteuid() != 0 || have_effective_cap(CAP_SYS_ADMIN) <= 0)
|
||||
return log_tests_skipped("not privileged");
|
||||
|
||||
Reference in New Issue
Block a user