Skip to content

pull: tests fixes and couple blkid changes

Sami Kerola util-linux 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5libsmartcols: fix test variable shadowinglibsmartcols/samples/fromfile.c+5 -50 replies
2/5tests: do not use plain 0 as NULL [smatch scan]lib/colors.c lib/cpuset.c libfdisk/samples/mkpart.c +4 more+39 -390 replies
3/5tests: add static keyword where needed [smatch scan]libmount/src/context.c libmount/src/lock.c misc-utils/test_uuidd.c +2 more+10 -100 replies
4/5blkid: simplify version option handlingmisc-utils/blkid.c+2 -80 replies
5/5blkid: add control structmisc-utils/blkid.c+88 -830 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] pull: tests fixes and couple blkid changes

Hello,

Fixes to tests are similar what is done to other code to get rid of various warnings. It is safe to say these will not be the last warning fixes ever, as static analyers will get better in catching new problems, and without doubt sometimes regressions creep in or completely new code is introduced.

Second subject matter is the last blkid changes I want to propose (for now), both making the code more similar with rest of the code in this project.

----------------------------------------------------------------
The following changes since commit 999448d86609cef27a481c6e0ed9006b27f19558:
tests: refresh lscpu tests (2017-03-15 11:49:22 +0100)
are available in the git repository at:
git://github.com/kerolasa/lelux-utiliteetit.git 2017wk11
for you to fetch changes up to 59b94cc0c5125ecb29f32235a168989a5c2b2f82:
blkid: add control struct (2017-03-17 21:22:26 +0000)
----------------------------------------------------------------

Sami Kerola (5):
libsmartcols: fix test variable shadowing
tests: do not use plain 0 as NULL [smatch scan]
tests: add static keyword where needed [smatch scan]
blkid: simplify version option handling
blkid: add control struct

 lib/colors.c                    |  10 +--
 lib/cpuset.c                    |   8 +-
 libfdisk/samples/mkpart.c       |   8 +-
 libmount/src/context.c          |   2 +-
 libmount/src/lock.c             |   2 +-
 libsmartcols/samples/fromfile.c |  34 ++++----
 libsmartcols/samples/title.c    |   6 +-
 libsmartcols/samples/tree.c     |  20 ++---
 misc-utils/blkid.c              | 181 ++++++++++++++++++++--------------------
 misc-utils/test_uuidd.c         |  10 +--
 tests/helpers/test_byteswap.c   |   6 +-
 tests/helpers/test_pathnames.c  |   2 +-
 12 files changed, 144 insertions(+), 145 deletions(-)
Signature · 1 line
2.12.0