expect revision 128c943ef2a0a82b8a4a8a9ca66f459e107bc877
1resize2fs test
2resize2fs -M test.img
3Resizing the filesystem on test.img to 1124 (1k) blocks.
4The filesystem on test.img is now 1124 blocks long.
5
6Exit status is 0
7fsck -yf -N test_filesys test.img
8Pass 1: Checking inodes, blocks, and sizes
9Pass 2: Checking directory structure
10Pass 3: Checking directory connectivity
11Pass 4: Checking reference counts
12Pass 5: Checking group summary information
13test_filesys: 13/512 files (0.0% non-contiguous), 1120/1124 blocks
14Exit status is 0
15