summaryrefslogtreecommitdiff
path: root/tests/gen_inode_numbers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen_inode_numbers.c')
-rw-r--r--tests/gen_inode_numbers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_inode_numbers.c b/tests/gen_inode_numbers.c
index e16abbe..dc8ca4c 100644
--- a/tests/gen_inode_numbers.c
+++ b/tests/gen_inode_numbers.c
@@ -54,7 +54,7 @@ int main(void)
// inode table for the empty tree
assert(fstree_init(&fs, NULL) == 0);
- fstree_gen_inode_numbers(&fs);
+ fstree_post_process(&fs);
assert(fs.unique_inode_count == 1);
assert(fs.root->inode_num == 1);
fstree_cleanup(&fs);
@@ -81,7 +81,7 @@ int main(void)
assert(gen_node(c, "c_b") != NULL);
assert(gen_node(c, "c_c") != NULL);
- fstree_gen_inode_numbers(&fs);
+ fstree_post_process(&fs);
assert(fs.unique_inode_count == 13);
check_children_before_root(fs.root);