]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/encoding/check-generated.sh: show diff if binary reencode check fails
authorIlya Dryomov <idryomov@gmail.com>
Tue, 19 Apr 2022 09:21:06 +0000 (11:21 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 9 Jun 2022 10:02:34 +0000 (12:02 +0200)
commitac0e4a0cc1b3beea39abe91c51e85a9e968df39b
tree3f66603c28b813ad84009a6f819c12fb1b56316e
parent411181040378351bb0c83663b11ac5d4b1fcab4e
test/encoding/check-generated.sh: show diff if binary reencode check fails

Take bf0b161115aa ("test/encoding/check-generated.sh: show diff if cmp
fails") a bit further.  Suggesting "cmp $tmp1 $tmp2" isn't very helpful
since cmp would report just the mismatch offset.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 59d928a06c028bf381307001d2b68fa8545d8fc4)
src/test/encoding/check-generated.sh