diff options
author | Oskar <[email protected]> | 2024-07-21 18:26:14 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-07-21 18:26:14 +0200 |
commit | 2e08693557019529cf8a4daa7931d3414cbeca51 (patch) | |
tree | 9d5744ecf075a0e8537c971ec3dc441509b3fdb3 /test/test_generate_delete.sh | |
parent | 730e03e60740905f3c97bed11db637e3dff2801a (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-x | test/test_generate_delete.sh | 7 |
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 |