1if ! test -x $DEBUGFS_EXE; then 2 echo "$test_name: $test_description: skipped (no debugfs)" 3 return 0 4fi 5 6SKIP_GUNZIP="true" 7 8touch $TMPFILE 9$MKE2FS -N 32 -F -o Linux -O uninit_bg -b 1024 $TMPFILE 10000 > /dev/null 2>&1 10$DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1 11set_current_time 20070410210000 12set_super_value lastcheck 0 13set_super_value hash_seed null 14set_super_value mkfs_time 0 15set_bg 1 flags 0x7 16set_bg 1 checksum calc 17q 18EOF 19 20E2FSCK_TIME=200704102100 21export E2FSCK_TIME 22 23. $cmd_dir/run_e2fsck 24 25unset E2FSCK_TIME 26