diff options
Diffstat (limited to '')
-rw-r--r-- | tests/f_uninit_dir/expect.1 | 25 | ||||
-rw-r--r-- | tests/f_uninit_dir/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_uninit_dir/image.gz | bin | 0 -> 2604 bytes | |||
-rw-r--r-- | tests/f_uninit_dir/name | 1 |
4 files changed, 33 insertions, 0 deletions
diff --git a/tests/f_uninit_dir/expect.1 b/tests/f_uninit_dir/expect.1 new file mode 100644 index 0000000..31870bd --- /dev/null +++ b/tests/f_uninit_dir/expect.1 @@ -0,0 +1,25 @@ +Pass 1: Checking inodes, blocks, and sizes +Directory inode 12 has extent marked uninitialized at block 0. Fix? yes + +Directory inode 14 has extent marked uninitialized at block 0. Fix? yes + +Pass 2: Checking directory structure +Directory inode 14, block #0, offset 0: directory corrupted +Salvage? yes + +Missing '.' in directory inode 14. +Fix? yes + +Missing '..' in directory inode 14. +Fix? yes + +Pass 3: Checking directory connectivity +'..' in /abc (14) is <The NULL inode> (0), should be / (2). +Fix? yes + +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 14/128 files (0.0% non-contiguous), 20/512 blocks +Exit status is 1 diff --git a/tests/f_uninit_dir/expect.2 b/tests/f_uninit_dir/expect.2 new file mode 100644 index 0000000..7b28f43 --- /dev/null +++ b/tests/f_uninit_dir/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/128 files (0.0% non-contiguous), 20/512 blocks +Exit status is 0 diff --git a/tests/f_uninit_dir/image.gz b/tests/f_uninit_dir/image.gz Binary files differnew file mode 100644 index 0000000..ac9131d --- /dev/null +++ b/tests/f_uninit_dir/image.gz diff --git a/tests/f_uninit_dir/name b/tests/f_uninit_dir/name new file mode 100644 index 0000000..d7f5bee --- /dev/null +++ b/tests/f_uninit_dir/name @@ -0,0 +1 @@ +fix uninit flag on directory extents and check the dir blocks |