summaryrefslogtreecommitdiff
path: root/tests/f_resize_inode/script
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-01-07 22:46:21 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-01-07 22:46:21 -0500
commitde628f7c56b73ab20fb41485752b41d0f2a065c5 (patch)
tree0be04e6412a8337a56effb8269f93255a39c3e6e /tests/f_resize_inode/script
parent4e60fb609b330fb488f2fcbfe9e330b1441201c0 (diff)
downloade2fsprogs-de628f7c56b73ab20fb41485752b41d0f2a065c5.tar.gz
Fix f_resize_inode test to deal with the renaming of the debugfs command
set_inode to set_inode_field.
Diffstat (limited to 'tests/f_resize_inode/script')
-rw-r--r--tests/f_resize_inode/script8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/f_resize_inode/script b/tests/f_resize_inode/script
index 5ad911f7..3d95c7b1 100644
--- a/tests/f_resize_inode/script
+++ b/tests/f_resize_inode/script
@@ -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