2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

Fix the "Kernel features are written to cache:" test

the cache test is failing because it assumes that kernel features are
stored in a file instead of a directory

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
John Johansen
2012-03-09 04:25:03 -08:00
parent 3876299fa0
commit c8e134930f
2 changed files with 27 additions and 4 deletions

View File

@@ -768,7 +768,7 @@ static char *handle_features_dir(const char *filename, char **buffer, int size,
}
pos = snprintf_buffer(*buffer, pos, size, " }\n");
pos = snprintf_buffer(*buffer, pos, size, "}\n");
}
if (dirent_path)
free(dirent_path);