Skip to content
Snippets Groups Projects
Commit da1b9358 authored by Will Maier's avatar Will Maier
Browse files

Make test-verify SUSv3 compatible.

'head -c' isn't supported on (at least) OpenBSD and is not
part of SUSv3. Instead, use dd.

See also:

    http://www.opengroup.org/onlinepubs/009695399/utilities/head.html
parent b5e9ed63
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
hg ci -m a
echo 'corrupted' > b
head -c 20 .hg/store/data/a.i > start
dd if=.hg/store/data/a.i of=start bs=1 count=20 2>/dev/null
cat start b > .hg/store/data/a.i
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment