Whamcloud - gitweb
e2fsck: don't allow journal inode to have encrypt flag
[tools/e2fsprogs.git] / tests / f_badjour_encrypted / script
1 if ! test -x $DEBUGFS_EXE; then
2         echo "$test_name: $test_description: skipped (no debugfs)"
3         return 0
4 fi
5
6 touch $TMPFILE
7 $MKE2FS -t ext4 -b 1024 $TMPFILE 2M
8 $DEBUGFS -w -R 'set_inode_field <8> flags 0x80800' $TMPFILE
9
10 SKIP_GUNZIP="true"
11 . $cmd_dir/run_e2fsck