[PATCH 0/8] [pull] various changes, uuid tests, ctrlaltdel improvements and so on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Karel,

You mentioned something about uuid tests, so I wrote couple.  They do not
test any randomness aspects of the commands, but general execution and
request flow, so not 100% perfect but much better than no tests at all.

The ctrlaltdel(8) has a new feature in these changes - when ran without
arguments it will display what is the CAD function.  Basically this is the
same thinking pattern that we applied earlier to swapon(8).

The rest of the pull is minor updateds touching last(1), and nologin(1).

----------------------------------------------------------------
The following changes since commit d5b7d2912afceac3774d1aaea9e8486b54d4e9e9:
  libblkid: make XFS Log visible for wipefs (2015-10-13 12:02:17 +0200)
are available in the git repository at:
  git://github.com/kerolasa/lelux-utiliteetit.git various
for you to fetch changes up to 150029cf0057a5f1278a2abb40753c321126be74:
  ctrlaltdel: display setting when ran without arguments (2015-10-13 12:17:07 +0100)
----------------------------------------------------------------

Sami Kerola (8):
  last: display input file in usage() according to command name
  nologin: require /etc/nologin.txt to be file
  libuuid: add uuid_generate_file() function
  tests: add uuidgen check
  tests: add uuidd check
  ctrlaltdel: improve error messaging
  docs: update ctrlaltdel.8 man page
  ctrlaltdel: display setting when ran without arguments

 include/pathnames.h         |   3 ++
 libuuid/man/uuid_generate.3 |  11 +++++++
 libuuid/src/gen_uuid.c      |  21 +++++++++++++
 libuuid/src/libuuid.sym     |   8 +++++
 libuuid/src/uuid.h          |   2 ++
 login-utils/last.c          |  17 +++++-----
 login-utils/nologin.c       |   5 ++-
 misc-utils/Makemodule.am    |  10 ++++++
 misc-utils/uuidd.c          |  16 ++++++++++
 misc-utils/uuidgen.c        |  24 ++++++++++++++
 sys-utils/ctrlaltdel.8      |  26 +++++++++------
 sys-utils/ctrlaltdel.c      |  75 ++++++++++++++++++++++++++++++++++----------
 tests/commands.sh           |   2 ++
 tests/expected/uuid/uuidd   |   7 +++++
 tests/expected/uuid/uuidgen |   6 ++++
 tests/ts/uuid/0x00000000    | Bin 0 -> 16 bytes
 tests/ts/uuid/0xdeadbeef    |   1 +
 tests/ts/uuid/0xffffffff    |   1 +
 tests/ts/uuid/uuidd         |  33 +++++++++++++++++++
 tests/ts/uuid/uuidgen       |  30 ++++++++++++++++++
 20 files changed, 261 insertions(+), 37 deletions(-)
 create mode 100644 tests/expected/uuid/uuidd
 create mode 100644 tests/expected/uuid/uuidgen
 create mode 100644 tests/ts/uuid/0x00000000
 create mode 100644 tests/ts/uuid/0xdeadbeef
 create mode 100644 tests/ts/uuid/0xffffffff
 create mode 100755 tests/ts/uuid/uuidd
 create mode 100755 tests/ts/uuid/uuidgen

-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux