aboutsummaryrefslogtreecommitdiff
path: root/tests/libfstree/fstree_from_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libfstree/fstree_from_file.c')
-rw-r--r--tests/libfstree/fstree_from_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libfstree/fstree_from_file.c b/tests/libfstree/fstree_from_file.c
index c8816e6..5d37960 100644
--- a/tests/libfstree/fstree_from_file.c
+++ b/tests/libfstree/fstree_from_file.c
@@ -21,6 +21,9 @@ int main(void)
n = fs.root->data.dir.children;
TEST_EQUAL_UI(fs.root->link_count, 9);
+ TEST_EQUAL_UI(fs.root->mode, S_IFDIR | 0755);
+ TEST_EQUAL_UI(fs.root->uid, 1000);
+ TEST_EQUAL_UI(fs.root->gid, 100);
TEST_EQUAL_UI(n->mode, S_IFBLK | 0600);
TEST_EQUAL_UI(n->uid, 8);