3 if [ "$QUOTA" != "y" ]; then
4 echo "$test_name: $test_description: skipped"
8 $MKE2FS -q -F -o Linux -I 256 -b 4096 $TMPFILE 10000 > $test_name.log 2>&1
10 if [ "$status" != 0 ] ; then
11 echo "mke2fs failed" > $test_name.failed
12 echo "$test_name: $test_description: failed"
16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1
17 cat <<- EOF | $DEBUGFS -w -f /dev/stdin $TMPFILE >> $test_name.log 2>&1
18 write $TMPFILE.2 file1
19 set_inode_field file1 projid 500
23 $TUNE2FS -Q prj $TMPFILE >> $test_name.log 2>&1
25 if [ "$status" != 0 ] ; then
26 echo "tune2fs -Q project failed with $status" > $test_name.failed
27 echo "$test_name: $test_description: failed"
31 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
33 if [ "$status" = 0 ] ; then
34 echo "$test_name: $test_description: ok"
37 echo "e2fsck with project enabled failed with $status" > $test_name.failed
38 echo "$test_name: $test_description: failed"