# Regression test for
# 34cf865 ext4: fix deadlock when writing in ENOSPC conditions
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1 # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
- cd /
- rm -f $tmp.*
-}
+. ./common/preamble
+_begin_fstest auto enospc
create_file()
{
done
}
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
# real QA test starts here
_require_scratch
-rm -f $seqres.full
echo "Silence is golden"
_scratch_mkfs_sized $((256 * 1024 * 1024)) >>$seqres.full 2>&1