projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic/449: always fill up the data device
[xfstests-dev.git]
/
tests
/
generic
/
449
diff --git
a/tests/generic/449
b/tests/generic/449
index a2d882dfff3313d1409c2359b6b1bbd27219cc1c..5fd15367878f7b53ee4fa0831f182f61a7454ee4 100755
(executable)
--- a/
tests/generic/449
+++ b/
tests/generic/449
@@
-43,6
+43,11
@@
_require_attrs trusted
_scratch_mkfs_sized $((256 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount || _fail "mount failed"
_scratch_mkfs_sized $((256 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount || _fail "mount failed"
+# This is a test of xattr behavior when we run out of disk space for xattrs,
+# so make sure the pwrite goes to the data device and not the rt volume.
+test "$FSTYP" = "xfs" && \
+ $XFS_IO_PROG -c 'chattr -t' $SCRATCH_MNT
+
TFILE=$SCRATCH_MNT/testfile.$seq
# Create the test file and choose its permissions
TFILE=$SCRATCH_MNT/testfile.$seq
# Create the test file and choose its permissions