diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-04-24 01:59:36 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-04-24 01:59:36 +0300 |
commit | 22d9aeb0f3057c43cf7c561bc208c3acec45135e (patch) | |
tree | 2e0eca7350a778a0e9c1011b41eea18429a742b4 /c_implementation/tests/test_akfs_mkdir.c | |
parent | 07d2b7e430e17cceaab2715a816e4182f299f441 (diff) | |
download | arching-kaos-tools-22d9aeb0f3057c43cf7c561bc208c3acec45135e.tar.gz arching-kaos-tools-22d9aeb0f3057c43cf7c561bc208c3acec45135e.tar.bz2 arching-kaos-tools-22d9aeb0f3057c43cf7c561bc208c3acec45135e.zip |
[libakfs] Updates
Diffstat (limited to 'c_implementation/tests/test_akfs_mkdir.c')
-rw-r--r-- | c_implementation/tests/test_akfs_mkdir.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/c_implementation/tests/test_akfs_mkdir.c b/c_implementation/tests/test_akfs_mkdir.c index 9ac98d1..5df83ee 100644 --- a/c_implementation/tests/test_akfs_mkdir.c +++ b/c_implementation/tests/test_akfs_mkdir.c @@ -1,7 +1,8 @@ #include <stdio.h> #include <libakfs.h> -void test_non_hash_string(){ +static void test_non_hash_string() +{ char *path = "tes"; int ec = ak_fs_create_dir_for_hash(path); printf("mkdir return code: %d\n", ec); @@ -10,19 +11,22 @@ void test_non_hash_string(){ printf("mkdir return code: %d\n", ec); } -void test_hash_string(){ +static void test_hash_string() +{ char *path = "ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff"; int ec = ak_fs_create_dir_for_hash(path); printf("mkdir return code: %d\n", ec); } -void test_hash_string2(){ +static void test_hash_string2() +{ char *path = "ee2ab0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff"; int ec = ak_fs_create_dir_for_hash(path); printf("mkdir return code: %d\n", ec); } -void test_hash_string3(){ +static void test_hash_string3() +{ char *path = "ee2ab0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a800"; int ec = ak_fs_create_dir_for_hash(path); printf("mkdir return code: %d\n", ec); |