xref: /aosp_15_r20/external/e2fsprogs/tests/f_quota/script (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerAFTER_CMD='$DEBUGFS -f $test_dir/debugfs-cmds $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed > $test_name.0.log'
2*6a54128fSAndroid Build Coastguard WorkerPASS_ZERO=true
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard Worker$TUNE2FS -h 2>&1 | grep -q quota_options
5*6a54128fSAndroid Build Coastguard Workerif [ $? != 0 ] ; then
6*6a54128fSAndroid Build Coastguard Worker        rm -f $TMPFILE
7*6a54128fSAndroid Build Coastguard Worker        echo "$test_name: $test_description: skipped (quota not enabled)"
8*6a54128fSAndroid Build Coastguard Worker        return 0
9*6a54128fSAndroid Build Coastguard Workerfi
10*6a54128fSAndroid Build Coastguard Worker
11*6a54128fSAndroid Build Coastguard Worker. $cmd_dir/run_e2fsck
12