Test case for expanding inode size where there is not enough room
for the requested new inode size. Prompt user to delete one or more
EAs (default is to abort).
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
--- /dev/null
+Adding dirhash hint to filesystem.
+
+Pass 1: Checking inodes, blocks, and sizes
+Expanding inode 12.
+An EA needs to be deleted for inode 12 but e2fsck is being run
+with -p or -y mode.
+Abort? yes
+
+e2fsck: aborted
+Exit status is 8
--- /dev/null
+Adding dirhash hint to filesystem.
+
+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: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 12/2048 files (8.3% non-contiguous), 2106/8192 blocks
+Exit status is 1
--- /dev/null
+EA needs deletion but running in -p or -y mode
--- /dev/null
+FSCK_OPT="-fy -E expand_extra_isize"
+SECOND_FSCK_OPT=-yf
+
+. $cmd_dir/run_e2fsck