Skip to content

Commit 78861fd

Browse files
authored
Merge pull request sleuthkit#3252 from sleuthkit/delete-temp-files
add a test of a image that does not crash
2 parents 9eed6f4 + 06ac635 commit 78861fd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/bin/bash -e
22

3-
/bin/rm -f apfs_pool.db
4-
"tools/autotools/tsk_loaddb$EXEEXT" -d apfs_pool.db $SLEUTHKIT_TEST_DATA_DIR/apfs/apfs_pool.E01
3+
doit () {
4+
echo scan $1
5+
/bin/rm -f testdb.db
6+
"tools/autotools/tsk_loaddb$EXEEXT" -d testdb.db $1
7+
echo scan $1 done
8+
}
59

6-
/bin/rm -f issue_3235.db
7-
"tools/autotools/tsk_loaddb$EXEEXT" -d issue_3235.db $SLEUTHKIT_TEST_DATA_DIR/fuzzing/lvm_test_issue_3235.E01
10+
doit $SLEUTHKIT_TEST_DATA_DIR/from_brian/1-extend-part/ext-part-test-2.dd
11+
doit $SLEUTHKIT_TEST_DATA_DIR/apfs/apfs_pool.E01
12+
doit $SLEUTHKIT_TEST_DATA_DIR/fuzzing/lvm_test_issue_3235.E01

0 commit comments

Comments
 (0)