diff --git a/lib/log/log.c b/lib/log/log.c index c6f6857c3..a6b0a3764 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -199,7 +199,6 @@ fdump(FILE *fp, const char *label, const uint8_t *buf, size_t len) } total += snprintf(tmpbuf + total, sizeof tmpbuf - total, " "); - buf16[idx % 16] = ' '; } snprintf(tmpbuf + total, sizeof tmpbuf - total, " %s", buf16); fprintf(fp, "%s\n", tmpbuf); diff --git a/test/blobstore/blobstore.sh b/test/blobstore/blobstore.sh index 66b6b1a67..4baf5fbec 100755 --- a/test/blobstore/blobstore.sh +++ b/test/blobstore/blobstore.sh @@ -19,9 +19,6 @@ dd if=/dev/urandom of=$testdir/test.pattern bs=1M count=1 (cd $testdir && $rootdir/examples/blob/cli/blobcli -c $testdir/blobcli.conf -b Nvme0n1 -T $testdir/test.bs > $testdir/btest.out) -# the tool leaves some trailing whitespaces that we need to strip out -sed -i 's/[[:space:]]*$//' $testdir/btest.out - # the test script will import the test pattern generated by dd and then export # it to a file so we can compare and confirm basic read and write $rootdir/test/app/match/match -v $testdir/btest.out.match