summaryrefslogtreecommitdiffstats
path: root/tests/u_direct_io
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 04:59:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 04:59:33 +0000
commit73193347133e750faf27f88fd3ab31ce43aff062 (patch)
treee28a6d9512d1787b1fcbe9167188c9d134bf51d9 /tests/u_direct_io
parentAdding upstream version 1.47.0. (diff)
downloade2fsprogs-upstream.tar.xz
e2fsprogs-upstream.zip
Adding upstream version 1.47.1.upstream/1.47.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/u_direct_io')
-rw-r--r--tests/u_direct_io/expect4
-rw-r--r--tests/u_direct_io/script6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/u_direct_io/expect b/tests/u_direct_io/expect
index 830cbd7..ac22e66 100644
--- a/tests/u_direct_io/expect
+++ b/tests/u_direct_io/expect
@@ -1,4 +1,4 @@
-mke2fs -F -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP
+mke2fs -F -b 4096 -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP
Creating filesystem with 32768 4k blocks and 32768 inodes
Allocating group tables: done
@@ -36,7 +36,7 @@ Check interval: 15552000 (6 months)
Reserved blocks uid: 0
Reserved blocks gid: 0
First inode: 11
-Inode size: 256
+Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
diff --git a/tests/u_direct_io/script b/tests/u_direct_io/script
index b4f0775..2f80e64 100644
--- a/tests/u_direct_io/script
+++ b/tests/u_direct_io/script
@@ -8,14 +8,14 @@ elif test ! -x $DEBUGFS_EXE; then
echo "$test_name: $DESCRIPTION: skipped (no debugfs)"
else
dd if=/dev/zero of=$TMPFILE bs=1M count=128 > /dev/null 2>&1
- LOOP=$(losetup --show --sector-size 4096 -f $TMPFILE)
+ LOOP=$(losetup --show -f $TMPFILE 2>&1)
if [ ! -b "$LOOP" ]; then
echo "$test_name: $DESCRIPTION: skipped (no loop devices)"
rm -f $TMPFILE
exit 0
fi
- echo mke2fs -F -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D \$LOOP > $OUT
- $MKE2FS -F -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP 2>&1 | \
+ echo mke2fs -F -b 4096 -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D \$LOOP > $OUT
+ $MKE2FS -F -b 4096 -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP 2>&1 | \
sed -f $cmd_dir/filter.sed >> $OUT
echo debugfs -D -R stats \$LOOP >> $OUT