From: Karel Zak Date: Tue, 7 Apr 2026 17:33:57 +0200 Subject: tests: mkswap file-existing subtest add explicit page size The file-existing subtest fails on platforms with large native page sizes (e.g. 64 KiB on aarch64) because the 40 KiB swap image is too small. Add -p 4096 to match the other subtests. Signed-off-by: Karel Zak Bug: https://bugs.debian.org/1138789 --- tests/ts/mkswap/mkswap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ts/mkswap/mkswap b/tests/ts/mkswap/mkswap index 1911197..c3ae302 100755 --- a/tests/ts/mkswap/mkswap +++ b/tests/ts/mkswap/mkswap @@ -105,11 +105,11 @@ ts_init_subtest file-existing outimg="$TS_OUTDIR/existing.img" rm -f "$outimg" -"$TS_CMD_MKSWAP" -q -U "$UUID" -F -s $((4096 * 10)) "$outimg" \ +"$TS_CMD_MKSWAP" -q -U "$UUID" -p 4096 -F -s $((4096 * 10)) "$outimg" \ >> "$TS_OUTPUT" 2>/dev/null \ || ts_log "mkswap failed" -"$TS_CMD_MKSWAP" -q -U "$UUID" -F -s $((4096 * 10)) "$outimg" \ +"$TS_CMD_MKSWAP" -q -U "$UUID" -p 4096 -F -s $((4096 * 10)) "$outimg" \ >> "$TS_OUTPUT" 2>&1 \ || ts_log "mkswap -F failed on existing file"