Add unittest file for basic:label

This commit is contained in:
Abraham Samuel Adekunle
2024-03-18 11:04:42 +00:00
committed by Luca Boccassi
parent 9cebda59e8
commit fcf38e2cb3
4 changed files with 162 additions and 0 deletions
+4
View File
@@ -28,3 +28,7 @@ int label_ops_post(int dir_fd, const char *path) {
return label_ops->post(dir_fd, path);
}
void label_ops_reset(void) {
label_ops = NULL;
}
+1
View File
@@ -12,3 +12,4 @@ int label_ops_set(const LabelOps *label_ops);
int label_ops_pre(int dir_fd, const char *path, mode_t mode);
int label_ops_post(int dir_fd, const char *path);
void label_ops_reset(void);