Commit 8cd109b3 authored by Christian Kellner's avatar Christian Kellner
Browse files

test/power: skip recover_guards_fail on ASAN

When the address sanitizer is enabled, skip the recover_guards_fail
test, since we fork() in there and that somehow trips up ASAN.
parent 86ba69fe
......@@ -24,6 +24,7 @@
#include "bolt-dbus.h"
#include "bolt-fs.h"
#include "bolt-macros.h"
#include "bolt-str.h"
#include "mock-sysfs.h"
......@@ -473,6 +474,11 @@ test_power_recover_guards_fail (TestPower *tt, gconstpointer user)
pid_t pid;
int r;
#if HAVE_ASAN
g_test_skip ("Test does not work with ASAN yet.");
return;
#endif
fp = mock_sysfs_force_power_add (tt->sysfs);
g_assert_nonnull (fp);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment