tests: Fix SELinux tests in VPATH build

This commit is contained in:
Jiri Denemark 2014-03-10 10:20:30 +01:00
parent ea1eadd6a3
commit 8922c3d07a

View File

@ -278,7 +278,7 @@ const char *selinux_virtual_domain_context_path(void)
if (realis_selinux_enabled())
return realselinux_virtual_domain_context_path();
return abs_builddir "/securityselinuxhelperdata/virtual_domain_context";
return abs_srcdir "/securityselinuxhelperdata/virtual_domain_context";
}
const char *selinux_virtual_image_context_path(void)
@ -288,7 +288,7 @@ const char *selinux_virtual_image_context_path(void)
if (realis_selinux_enabled())
return realselinux_virtual_image_context_path();
return abs_builddir "/securityselinuxhelperdata/virtual_image_context";
return abs_srcdir "/securityselinuxhelperdata/virtual_image_context";
}
#ifdef HAVE_SELINUX_LXC_CONTEXTS_PATH
@ -299,7 +299,7 @@ const char *selinux_lxc_contexts_path(void)
if (realis_selinux_enabled())
return realselinux_lxc_contexts_path();
return abs_builddir "/securityselinuxhelperdata/lxc_contexts";
return abs_srcdir "/securityselinuxhelperdata/lxc_contexts";
}
#endif