$OpenBSD$

Base cmp(1) doesn't support --bytes.

Index: tests/test-mkfs
--- tests/test-mkfs.orig
+++ tests/test-mkfs
@@ -60,7 +60,7 @@ limitarg=
 if [ -n "$CMP_LIMIT" ]; then
 	limitarg="--bytes=$CMP_LIMIT"
 fi
-cmp $limitarg "${testname}.out" "${testname}.refimg"
+gcmp $limitarg "${testname}.out" "${testname}.refimg"
 success=$?
 
 if [ $success -eq 0 ]; then
