summaryrefslogtreecommitdiff
path: root/test/test_generate_delete.sh
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-07-21 18:26:14 +0200
committerOskar <[email protected]>2024-07-21 18:26:14 +0200
commit2e08693557019529cf8a4daa7931d3414cbeca51 (patch)
tree9d5744ecf075a0e8537c971ec3dc441509b3fdb3 /test/test_generate_delete.sh
parent730e03e60740905f3c97bed11db637e3dff2801a (diff)
New testing scripts to generate files and delete. Also fixed a segfault issue happening if the program fails during fill_lfc, it will call free_lfc, but because we haven set the 'next' node to NULL, we segfault.
Diffstat (limited to 'test/test_generate_delete.sh')
-rwxr-xr-xtest/test_generate_delete.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_generate_delete.sh b/test/test_generate_delete.sh
new file mode 100755
index 0000000..6764682
--- /dev/null
+++ b/test/test_generate_delete.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+for i in {1..10}
+do
+ ./gentestfiles.sh
+ ./test_deletefiles.sh
+done