SKIP_GUNZIP="true"
+TEST_DATA="test.data"
+
+dd if=$DEBUGFS of=$TEST_DATA bs=63k count=1 conv=sync > /dev/null 2>&1
touch $TMPFILE
-mke2fs -F -O resize_inode $TMPFILE 10240 > /dev/null 2>&1
-debugfs -w $TMPFILE << "EOF" > /dev/null 2>&1
+$MKE2FS -F -O resize_inode $TMPFILE 10240 > /dev/null 2>&1
+$DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
freeb 4 4
freeb 8195 4
-write /sbin/debugfs debugfs
+write $TEST_DATA debugfs
set_inode_field debugfs mtime 200504110000
q
EOF
. $cmd_dir/run_e2fsck
-unset E2FSCK_TIME
+rm -f $TEST_DATA
+
+unset E2FSCK_TIME TEST_DATA