tools/testing/scatterlist: Show errors in human readable form
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Sun, 4 Oct 2020 15:43:39 +0000 (18:43 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 5 Oct 2020 23:45:45 +0000 (20:45 -0300)
commit29d88681fb49f1e8225addd1e783bad1f7d95afc
treec8a00c2bda532e840f37ad33404f88d02db292ec
parentefc5b2e73cc0a8aabf377bcbd9296546e9cc9b2d
tools/testing/scatterlist: Show errors in human readable form

Instead of just asserting dump some more useful info about what the test
saw versus what it expected to see.

Link: https://lore.kernel.org/r/20201004154340.1080481-4-leon@kernel.org
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
tools/testing/scatterlist/main.c