diff options
Diffstat (limited to 'tests/f_imagic_fs')
-rw-r--r-- | tests/f_imagic_fs/expect.1 | 31 | ||||
-rw-r--r-- | tests/f_imagic_fs/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_imagic_fs/name | 1 | ||||
-rw-r--r-- | tests/f_imagic_fs/script | 8 |
4 files changed, 47 insertions, 0 deletions
diff --git a/tests/f_imagic_fs/expect.1 b/tests/f_imagic_fs/expect.1 new file mode 100644 index 0000000..b21fd35 --- /dev/null +++ b/tests/f_imagic_fs/expect.1 @@ -0,0 +1,31 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +/lost+found not found. Create? yes + +Pass 4: Checking reference counts +Inode 2 ref count is 4, should be 3. Fix? yes + +Pass 5: Checking group summary information +Block bitmap differences: -(9--19) +Fix? yes + +Free blocks count wrong for group #0 (75, counted=87). +Fix? yes + +Free blocks count wrong (75, counted=87). +Fix? yes + +Free inodes count wrong for group #0 (1, counted=2). +Fix? yes + +Directories count wrong for group #0 (3, counted=2). +Fix? yes + +Free inodes count wrong (1, counted=2). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 14/16 files (0.0% non-contiguous), 13/100 blocks +Exit status is 1 diff --git a/tests/f_imagic_fs/expect.2 b/tests/f_imagic_fs/expect.2 new file mode 100644 index 0000000..1f411c0 --- /dev/null +++ b/tests/f_imagic_fs/expect.2 @@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 14/16 files (0.0% non-contiguous), 13/100 blocks +Exit status is 0 diff --git a/tests/f_imagic_fs/name b/tests/f_imagic_fs/name new file mode 100644 index 0000000..a036976 --- /dev/null +++ b/tests/f_imagic_fs/name @@ -0,0 +1 @@ +imagic filesystem with imagic inodes diff --git a/tests/f_imagic_fs/script b/tests/f_imagic_fs/script new file mode 100644 index 0000000..511dcc7 --- /dev/null +++ b/tests/f_imagic_fs/script @@ -0,0 +1,8 @@ +if ! test -x $DEBUGFS_EXE; then + echo "$test_name: $test_description: skipped (no debugfs)" + return 0 +fi + +IMAGE=$test_dir/../f_imagic/image.gz +PREP_CMD='$DEBUGFS -w -R "feature imagic_inodes" $TMPFILE > /dev/null 2>&1' +. $cmd_dir/run_e2fsck |