]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/encoding/check-generated: test sorted json dumps for nondeterministic objects 5576/head
authorSage Weil <sage@redhat.com>
Thu, 13 Aug 2015 18:49:40 +0000 (14:49 -0400)
committerSage Weil <sage@redhat.com>
Thu, 13 Aug 2015 18:49:40 +0000 (14:49 -0400)
commit623a8e7ce974f0e5b9b1c8a80c626be5edb4909a
treeb1cb7952781dd7eb38d7ce78568f92317962e127
parent23119ffacc0456da3cb23ee63f698a3241d0c3a9
test/encoding/check-generated: test sorted json dumps for nondeterministic objects

Nondeterministic objects dump nondeterministically (usually due
to unordered_map or _set).  Compare their sorted output.  This
is a weaker test but is better than nothing.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/encoding/check-generated.sh