xref: /aosp_15_r20/external/e2fsprogs/tests/f_badjour_encrypted/script (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1if ! test -x $DEBUGFS_EXE; then
2	echo "$test_name: $test_description: skipped (no debugfs)"
3	return 0
4fi
5
6touch $TMPFILE
7$MKE2FS -t ext4 -b 1024 $TMPFILE 2M
8$DEBUGFS -w -R 'set_inode_field <8> flags 0x80800' $TMPFILE
9
10SKIP_GUNZIP="true"
11. $cmd_dir/run_e2fsck
12