aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test_akfs_mkdir.c
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-04-02 20:54:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-04-02 20:54:37 +0300
commitb9f80a2b37edf9682f189b406542b3f7a93b24a3 (patch)
tree2c96484ccb77af8a59ed6fb7fe4632b5bafb9858 /src/tests/test_akfs_mkdir.c
parent0ec3188626275fa2678882c9827ade8d045ffc7d (diff)
downloadarching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.gz
arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.bz2
arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.zip
Moved directory and some experimental changes
Diffstat (limited to 'src/tests/test_akfs_mkdir.c')
-rw-r--r--src/tests/test_akfs_mkdir.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/tests/test_akfs_mkdir.c b/src/tests/test_akfs_mkdir.c
deleted file mode 100644
index 2ef86b3..0000000
--- a/src/tests/test_akfs_mkdir.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include <stdio.h>
-#include <akfs.h>
-
-void test_non_hash_string(){
- char *path = "tes";
- int ec = ak_fs_create_dir_for_hash(path);
- printf("mkdir return code: %d\n", ec);
- path = "tes/t";
- ec = ak_fs_create_dir_for_hash(path);
- printf("mkdir return code: %d\n", ec);
-}
-
-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(){
- char *path = "ee2ab0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff";
- int ec = ak_fs_create_dir_for_hash(path);
- printf("mkdir return code: %d\n", ec);
-}
-
-void test_hash_string3(){
- char *path = "ee2ab0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a800";
- int ec = ak_fs_create_dir_for_hash(path);
- printf("mkdir return code: %d\n", ec);
-}
-
-int main()
-{
- test_non_hash_string();
- test_hash_string();
- test_hash_string2();
- test_hash_string3();
- return 0;
-}