numam-spdk/test/blobstore
Richael Zhuang 13d6d00347 examples/blob: skip '\0' when dump xattr's value
In show_blob(), value_len of xattr contains terminator '\0',
which is printed as '.' when calling spdk_log_dump().
For example, we set key/value pair as <key1,xattr value>, we get
"xattr value." but not "xattr value" when showing blob info.
Skip '\0' will fix this.

And "data[BUFSIZE]" seems redundant here, remove it.

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Change-Id: I4e7c3276e51f14badf43b660b80b24ae85bb0900
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1745
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-04-09 08:08:07 +00:00
..
blob_io_wait test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
blobstore.sh lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
btest.out.ignore test/blob: fix match tool with blobcli 2020-02-04 20:08:02 +00:00
btest.out.match examples/blob: skip '\0' when dump xattr's value 2020-04-09 08:08:07 +00:00
test.bs test: add 'match' util and use it with blobstore 2018-02-06 18:05:25 -05:00