mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-11 11:01:18 +02:00
12 lines
640 B
Plaintext
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"`
|