]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: add --no-act for testing
authorKarel Zak <kzak@redhat.com>
Mon, 16 Mar 2015 11:38:46 +0000 (12:38 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Mar 2015 11:38:46 +0000 (12:38 +0100)
commitfd343a05726658514fc9679cc226ea8aa89549d6
tree6c9b1d7682fdf39d27f6423128c149dd1e97224e
parent773df0fa2f6c12581cc8649a08b9d825456a247c
logger: add --no-act for testing

* force --journal mode to also output to stderr when the option
  --stderr specified on command line

* add --no-act to avoid all write() operations to make it possible to
  write tests without "spam" system logs

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.1
misc-utils/logger.c