diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c index d646306acf..6a0459e1fa 100644 --- a/src/test/test-namespace.c +++ b/src/test/test-namespace.c @@ -172,7 +172,7 @@ TEST(fd_is_namespace) { ASSERT_OK_ZERO(fd_is_namespace(STDERR_FILENO, NAMESPACE_NET)); fd = namespace_open_by_type(NAMESPACE_MOUNT); - if (IN_SET(fd, -ENOSYS, -ENOENT)) { + if (IN_SET(fd, -ENOSYS, -ENOPKG)) { log_notice("Path %s not found, skipping test", "/proc/self/ns/mnt"); return; } |