Files
bsdports/system/e2fsprogs/files/patch-tests_m__offset_script
2023-03-12 21:19:08 +02:00

12 lines
640 B
Plaintext

--- tests/m_offset/script.orig 2023-02-02 15:57:32 UTC
+++ tests/m_offset/script
@@ -13,7 +13,7 @@ $MKE2FS -F -b 1024 -E offset=524288 "$TMPFILE" 1024 >>
# compute crc of the first and last 512 1k blocks
crc_first2=`$DD if="$TMPFILE" bs=1k count=512 2>/dev/null | $CRCSUM`
crc_last2=`$DD if="$TMPFILE" bs=1k count=512 skip=1536 2>/dev/null | $CRCSUM`
-crc_exp=`yes a | $DD bs=1k count=512 2>/dev/null | $CRCSUM`
+crc_exp=`yes a | $DD bs=1k count=512 iflag=fullblock 2>/dev/null | $CRCSUM`
# a warning should be only emitted by the first mke2fs call
warning=`grep -c "offset specified without an explicit file system size." \
"$OUT"`