mirror of https://github.com/vitalif/e2fsprogs
Fix f_resize_inode test to deal with the renaming of the debugfs command
set_inode to set_inode_field.bitmap-optimize
parent
4e60fb609b
commit
de628f7c56
|
@ -25,7 +25,7 @@ test_filesys: 11/4096 files (0.0% non-contiguous), 2107/16384 blocks
|
|||
Exit status is 0
|
||||
-----------------------------------------------
|
||||
|
||||
debugfs -R ''set_inode <7> block[2] 42'' -w ./test.img
|
||||
debugfs -R ''set_inode_field <7> block[2] 42'' -w ./test.img
|
||||
Exit status is 0
|
||||
Resize inode not valid. Recreate? yes
|
||||
|
||||
|
@ -81,7 +81,7 @@ test_filesys: 11/4096 files (0.0% non-contiguous), 2107/16384 blocks
|
|||
Exit status is 0
|
||||
-----------------------------------------------
|
||||
|
||||
debugfs -R ''set_inode <7> bmap[524] 57'' -w ./test.img
|
||||
debugfs -R ''set_inode_field <7> bmap[524] 57'' -w ./test.img
|
||||
Exit status is 0
|
||||
Resize inode not valid. Recreate? yes
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ rm -f $OUT.new
|
|||
echo ----------------------------------------------- >> $OUT
|
||||
|
||||
echo " " >> $OUT
|
||||
echo "debugfs -R ''set_inode <7> block[2] 42'' -w $TMPFILE" > $OUT.new
|
||||
$DEBUGFS -R "set_inode <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
|
||||
echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w $TMPFILE" > $OUT.new
|
||||
$DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
|
||||
status=$?
|
||||
echo Exit status is $status >> $OUT.new
|
||||
sed -e '2d' $OUT.new >> $OUT
|
||||
|
@ -68,8 +68,8 @@ rm -f $OUT.new
|
|||
echo ----------------------------------------------- >> $OUT
|
||||
|
||||
echo " " >> $OUT
|
||||
echo "debugfs -R ''set_inode <7> bmap[524] 57'' -w $TMPFILE" > $OUT.new
|
||||
$DEBUGFS -R "set_inode <7> bmap[524] 57" -w $TMPFILE >> $OUT.new 2>&1
|
||||
echo "debugfs -R ''set_inode_field <7> bmap[524] 57'' -w $TMPFILE" > $OUT.new
|
||||
$DEBUGFS -R "set_inode_field <7> bmap[524] 57" -w $TMPFILE >> $OUT.new 2>&1
|
||||
status=$?
|
||||
echo Exit status is $status >> $OUT.new
|
||||
sed -e '2d' $OUT.new >> $OUT
|
||||
|
|
Loading…
Reference in New Issue