summaryrefslogtreecommitdiffstats
path: root/tests/f_quota/script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/f_quota/script')
-rw-r--r--tests/f_quota/script11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/f_quota/script b/tests/f_quota/script
new file mode 100644
index 0000000..bbe6a9f
--- /dev/null
+++ b/tests/f_quota/script
@@ -0,0 +1,11 @@
+AFTER_CMD='$DEBUGFS -f $test_dir/debugfs-cmds $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed > $test_name.0.log'
+PASS_ZERO=true
+
+$TUNE2FS -h 2>&1 | grep -q quota_options
+if [ $? != 0 ] ; then
+ rm -f $TMPFILE
+ echo "$test_name: $test_description: skipped (quota not enabled)"
+ return 0
+fi
+
+. $cmd_dir/run_e2fsck