aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-07-01 00:50:06 -0400
committerTheodore Ts'o <tytso@mit.edu>2023-07-01 00:50:06 -0400
commit0f389da9f980e0bb51a45c7d464bf2b0edc09fdd (patch)
tree8513b4c55b178e37d66c7271a5dc697431b2238f
parent95efe11e1f2a16e6352ebb37e343ab9831cd5172 (diff)
downloadxfstests-bld-0f389da9f980e0bb51a45c7d464bf2b0edc09fdd.tar.gz
test-appliance: disable the orphan_file flag for the ext4/ext3 config
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--test-appliance/files/root/fs/ext4/cfg/ext34
1 files changed, 4 insertions, 0 deletions
diff --git a/test-appliance/files/root/fs/ext4/cfg/ext3 b/test-appliance/files/root/fs/ext4/cfg/ext3
index a1e782d9..8e89a0e1 100644
--- a/test-appliance/files/root/fs/ext4/cfg/ext3
+++ b/test-appliance/files/root/fs/ext4/cfg/ext3
@@ -1,4 +1,8 @@
SIZE=small
export EXT_MKFS_OPTIONS="-O ^extents,^flex_bg,^uninit_bg,^64bit,^metadata_csum,^huge_file,^dir_nlink,^extra_isize"
+if mke2fs -Fq -t ext3 -O ^orphan_file /tmp/test$$.img 200k >& /dev/null ; then
+ EXT_MKFS_OPTIONS="$EXT_MKFS_OPTIONS,^orphan_file"
+ /bin/rm -f /tmp/test$$.img
+fi
export EXT_MOUNT_OPTIONS="nodelalloc"
TESTNAME="Ext4 4k block emulating ext3"