summaryrefslogtreecommitdiffstats
path: root/tests/f_badjour_encrypted/script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/f_badjour_encrypted/script')
-rw-r--r--tests/f_badjour_encrypted/script11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/f_badjour_encrypted/script b/tests/f_badjour_encrypted/script
new file mode 100644
index 0000000..e6778f1
--- /dev/null
+++ b/tests/f_badjour_encrypted/script
@@ -0,0 +1,11 @@
+if ! test -x $DEBUGFS_EXE; then
+ echo "$test_name: $test_description: skipped (no debugfs)"
+ return 0
+fi
+
+touch $TMPFILE
+$MKE2FS -t ext4 -b 1024 $TMPFILE 2M
+$DEBUGFS -w -R 'set_inode_field <8> flags 0x80800' $TMPFILE
+
+SKIP_GUNZIP="true"
+. $cmd_dir/run_e2fsck