[PATCH 0/6] pull: utmpdump iso-8601 format

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

 



Hello.

This pull request is re-implementation of iso-8601 timestamp format in
textual output using timeutils Karel made available as libcommon timeutils
functions.  The earlier submission was based on my version of timeutils,
that were not merged.

----------------------------------------------------------------
The following changes since commit 7f787ced5d401ccd56a82bb2b1202f1ea7164783:
  libblkid: don't check nonnull attributes for NULL [-Wnonnull-compare] (2016-06-14 14:39:16 +0200)
are available in the git repository at:
  git://github.com/kerolasa/lelux-utiliteetit.git utmpdump
for you to fetch changes up to 9997c0b13fffe7d198e7d056e4279727c2b0b3ad:
  tests: utmpdump add subsecond accuracy test (2016-06-20 21:31:18 +0100)
----------------------------------------------------------------

Sami Kerola (6):
  utmpdump: use always UTC-0 timezone in textual output
  libcommon: add ISO_8601_GMTIME that will print UTC-0 timestamps
  utmpdump: use iso-8601 timestamp format with subsecond accuracy
  tests: fix utmpdump timestamps to be in iso format
  tests: remove utmpdump localization go-around
  tests: utmpdump add subsecond accuracy test

 include/timeutils.h                     |  3 +-
 lib/timeutils.c                         | 14 ++++++--
 login-utils/Makemodule.am               |  1 +
 login-utils/utmpdump.c                  | 63 +++++++++++++++++++--------------
 tests/expected/utmp/utmpdump-subsecond  |  5 +++
 tests/expected/utmp/utmpdump-totxt      | 20 +++++------
 tests/expected/utmp/utmpdump-totxt-ipv6 |  4 +--
 tests/ts/utmp/subsec                    |  3 ++
 tests/ts/utmp/txt-a                     | 38 ++++++++++----------
 tests/ts/utmp/txt-a-old                 | 19 ++++++++++
 tests/ts/utmp/txt-b                     | 20 +++++------
 tests/ts/utmp/txt-b-old                 | 10 ++++++
 tests/ts/utmp/txt-ipv6                  |  4 +--
 tests/ts/utmp/txt-ipv6-old              |  2 ++
 tests/ts/utmp/utmpdump-circle           | 10 ++++--
 tests/ts/utmp/utmpdump-subsecond        | 34 ++++++++++++++++++
 tests/ts/utmp/utmpdump-tobin            |  2 --
 tests/ts/utmp/utmpdump-tobin-ipv6       |  2 --
 tests/ts/utmp/utmpdump-totxt            |  2 --
 tests/ts/utmp/utmpdump-totxt-ipv6       |  2 --
 20 files changed, 175 insertions(+), 83 deletions(-)
 create mode 100644 tests/expected/utmp/utmpdump-subsecond
 create mode 100644 tests/ts/utmp/subsec
 create mode 100644 tests/ts/utmp/txt-a-old
 create mode 100644 tests/ts/utmp/txt-b-old
 create mode 100644 tests/ts/utmp/txt-ipv6-old
 create mode 100755 tests/ts/utmp/utmpdump-subsecond

-- 
2.9.0

--
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