OSDN Git Service

quota: fix disabling quota, add quota tests
[android-x86/external-e2fsprogs.git] / tests / m_quota / script
diff --git a/tests/m_quota/script b/tests/m_quota/script
new file mode 100644 (file)
index 0000000..36ab630
--- /dev/null
@@ -0,0 +1,8 @@
+DESCRIPTION="enable quota feature on mkfs"
+FS_SIZE=131072
+MKE2FS_OPTS="-O quota"
+if [ "$QUOTA" != "y" ]; then
+       echo "$test_name: $DESCRIPTION: skipped"
+       return 0
+fi
+. $cmd_dir/run_mke2fs