]> git.ipfire.org Git - thirdparty/git.git/commit
t0003: call dd with portable blocksize
authorTorsten Bögershausen <tboegi@web.de>
Sun, 22 Jan 2023 06:28:39 +0000 (07:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jan 2023 16:14:40 +0000 (08:14 -0800)
commit5458ba0a4d2c65ddf7c844fd976906e04f61569a
treed9a8cb5c05e76554f693841a4663c5870182bdc4
parent0227130244c007870c106fc613903d078730e45c
t0003: call dd with portable blocksize

The command `dd bs=101M count=1` is not portable,
e.g. dd shipped with MacOs does not understand the 'M'.

Use `dd bs=1048576 count=101`, which achives the same, instead.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0003-attributes.sh