summaryrefslogtreecommitdiff
path: root/tests/fstree_init.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-29 01:45:59 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-29 01:46:39 +0200
commit89d0a57e2271db304fdf2ed7d31947c9a3418940 (patch)
treeeb37df0fb3bbcc1415873bf1c679ab552f6c8e8d /tests/fstree_init.c
parentdb519e0d3a9fd5a8c35d66341b37def7be813d89 (diff)
Cleanup: fstree no longer has any use for the block size
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fstree_init.c')
-rw-r--r--tests/fstree_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fstree_init.c b/tests/fstree_init.c
index 1a56256..ae559dd 100644
--- a/tests/fstree_init.c
+++ b/tests/fstree_init.c
@@ -20,7 +20,7 @@ int main(void)
str = strdup("mtime=1337,uid=1000,gid=100,mode=0321");
assert(str != NULL);
- assert(fstree_init(&fs, 512, str) == 0);
+ assert(fstree_init(&fs, str) == 0);
free(str);
assert(fs.defaults.st_mtime == 1337);
assert(fs.defaults.st_uid == 1000);
@@ -28,7 +28,7 @@ int main(void)
assert(fs.defaults.st_mode == (S_IFDIR | 0321));
fstree_cleanup(&fs);
- assert(fstree_init(&fs, 512, NULL) == 0);
+ assert(fstree_init(&fs, NULL) == 0);
assert(fs.defaults.st_mtime == 0);
assert(fs.defaults.st_uid == 0);
assert(fs.defaults.st_gid == 0);
@@ -37,13 +37,13 @@ int main(void)
str = strdup("mode=07777");
assert(str != NULL);
- assert(fstree_init(&fs, 512, str) == 0);
+ assert(fstree_init(&fs, str) == 0);
free(str);
fstree_cleanup(&fs);
str = strdup("mode=017777");
assert(str != NULL);
- assert(fstree_init(&fs, 512, str) != 0);
+ assert(fstree_init(&fs, str) != 0);
free(str);
return EXIT_SUCCESS;