diff options
author | Theodore Ts'o <tytso@mit.edu> | 1999-11-10 13:17:24 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1999-11-10 13:17:24 +0000 |
commit | 0444e15b3426994266db743c33e011728e3333dd (patch) | |
tree | 8c8ac53d1b9fc33f4def759259314d6d4db87e62 /tests/f_imagic | |
parent | 9b9fe8ac19db2bbd202bffd305ceee767a45f57a (diff) | |
download | e2fsprogs-0444e15b3426994266db743c33e011728e3333dd.tar.gz |
ChangeLog, run_e2fsck, expect.1, expect.2, image.gz, name, script:
f_imagic: New test case which tests handling of imagic inodes in an
non-imagic-enabled filessystem.
f_imagic_fs: New test case which tests handling of imagic inodes in an
imagic-enabled filesystem.
f_filetype: New test case which tests setting filetype information in
a filesystem. Also tests handling of immutable special files
(device/fifo).
run_e2fsck: Add support for PREP_CMD, which allows a test case to
specify some commands which will be run (via eval) after the image is
compressed and before running e2fsck.
Diffstat (limited to 'tests/f_imagic')
-rw-r--r-- | tests/f_imagic/expect.1 | 38 | ||||
-rw-r--r-- | tests/f_imagic/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_imagic/image.gz | bin | 0 -> 1143 bytes | |||
-rw-r--r-- | tests/f_imagic/name | 1 |
4 files changed, 46 insertions, 0 deletions
diff --git a/tests/f_imagic/expect.1 b/tests/f_imagic/expect.1 new file mode 100644 index 00000000..8e78c559 --- /dev/null +++ b/tests/f_imagic/expect.1 @@ -0,0 +1,38 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has imagic flag set. Clear? yes + +Inode 13 has imagic flag set. Clear? yes + +Inode 14 has imagic flag set. Clear? yes + +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 + +Unattached inode 12 +Connect to /lost+found? yes + +Inode 12 ref count is 2, should be 1. Fix? yes + +Unattached inode 14 +Connect to /lost+found? yes + +Inode 14 ref count is 2, should be 1. Fix? yes + +Pass 5: Checking group summary information +Block bitmap differences: -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 +Fix? yes + +Free blocks count wrong for group #0 (76, counted=87). +Fix? yes + +Free blocks count wrong (76, counted=87). +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/expect.2 b/tests/f_imagic/expect.2 new file mode 100644 index 00000000..1f411c0c --- /dev/null +++ b/tests/f_imagic/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/image.gz b/tests/f_imagic/image.gz Binary files differnew file mode 100644 index 00000000..6c2b3fa1 --- /dev/null +++ b/tests/f_imagic/image.gz diff --git a/tests/f_imagic/name b/tests/f_imagic/name new file mode 100644 index 00000000..db940088 --- /dev/null +++ b/tests/f_imagic/name @@ -0,0 +1 @@ +non-imagic filesystem with imagic inodes |