* 'cramfs-test-fix' of https://github.com/masami256/util-linux:
  tests: mkfs-endianness test use iflag=fullblock to fill block completely with string
This commit is contained in:
Karel Zak 2020-09-03 10:57:13 +02:00
commit f9de18f54a
1 changed files with 2 additions and 2 deletions

View File

@ -45,9 +45,9 @@ test_image() {
rm -rf "$IMAGE_DATA"
mkdir -p $IMAGE_DATA/dirA/dirB
yes "Testing cramfs 1234567890 Endianness check 1234567890 Endianness check" \
| dd of=$IMAGE_DATA/dirA/dirB/a bs=512 count=1 &> /dev/null
| dd of=$IMAGE_DATA/dirA/dirB/a iflag=fullblock bs=512 count=1 &> /dev/null
yes "Testing cramfs 1234567890 Endianness check 1234567890 Endianness check" \
| dd of=$IMAGE_DATA/dirA/dirB/b bs=512 count=30 &> /dev/null
| dd of=$IMAGE_DATA/dirA/dirB/b iflag=fullblock bs=512 count=30 &> /dev/null
# sudo may use whatever group
chgrp -R 0 $IMAGE_DATA