From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> This is pull request #194 on github https://github.com/karelzak/util-linux/pull/194 Maybe later we could consolidate the socket initialization into a common function inclusive netcat fallback. Ruediger Meier (5): logger: --stderr and --no-act turn "auto-errors" on tests: simplify common logger options tests: logger with socat device tests: logger, validate written socket data tests: check socket errors for invalid logger devive misc-utils/logger.c | 5 ++- tests/expected/logger/errors-check_socket | 21 +++++++++++ tests/expected/logger/errors-invalid_socket | 2 ++ tests/expected/logger/formats-check_socket | 1 + tests/expected/logger/options-check_socket | 1 + tests/ts/logger/errors | 54 +++++++++++++++++++---------- tests/ts/logger/formats | 41 +++++++++++++++------- tests/ts/logger/journald | 2 +- tests/ts/logger/options | 18 +++++++++- 9 files changed, 110 insertions(+), 35 deletions(-) create mode 100644 tests/expected/logger/errors-check_socket create mode 100644 tests/expected/logger/errors-invalid_socket create mode 100644 tests/expected/logger/formats-check_socket create mode 100644 tests/expected/logger/options-check_socket -- 1.8.4.5 -- 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