From 115f3a2f6b946109fe5895b77a539e55d4ae564c Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Tue, 1 Nov 2022 15:14:36 +0100 Subject: [PATCH] Use hxd.xxd instead of hexdump --- git-kv.opam | 1 + test/simple.t | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/git-kv.opam b/git-kv.opam index 354daf3..ecca5d2 100644 --- a/git-kv.opam +++ b/git-kv.opam @@ -16,6 +16,7 @@ depends: [ "mirage-clock-unix" "mirage-clock" "ptime" + "hxd" {with-test} "conf-git" {with-test} ] diff --git a/test/simple.t b/test/simple.t index f85f407..077e294 100644 --- a/test/simple.t +++ b/test/simple.t @@ -18,10 +18,9 @@ Simple test of our Git Key-Value store > save db.pack > quit 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!. - $ tail -c20 db.pack | hexdump - 0000000 b2e4 3734 7e2e 7e3d 0885 1239 873d cd11 - 0000010 4299 4771 - 0000014 + $ tail -c20 db.pack | hxd.xxd + 00000000: b2e4 3734 7e2e 7e3d 0885 1239 873d cd11 ..74~.~=...9.=.. + 00000010: 4299 4771 B.Gq $ mgit git://localhost/simple db.pack < get /foo > quit