diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-19 15:45:22 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-22 12:52:25 +0200 |
commit | 87c696f24707d0785a0626164d0b15a376a6c586 (patch) | |
tree | a36b4c3755e5cc6454b4b0e30693fedbbb075ba3 /test/test-sysusers.sh.in | |
parent | sysusers: rename output params with 'ret' (diff) | |
download | systemd-87c696f24707d0785a0626164d0b15a376a6c586.tar.xz systemd-87c696f24707d0785a0626164d0b15a376a6c586.zip |
sysusers: use log_syntax (changes prefix from '[%s:%u]' to '%s:%u:')
This makes the sysusers use the same message convention as other tools.
Also adds the prefix in a few places.
Diffstat (limited to 'test/test-sysusers.sh.in')
-rwxr-xr-x | test/test-sysusers.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-sysusers.sh.in b/test/test-sysusers.sh.in index c9d9bd993b..950dc297d8 100755 --- a/test/test-sysusers.sh.in +++ b/test/test-sysusers.sh.in @@ -152,7 +152,7 @@ for f in $(ls -1 $SOURCE/unhappy-*.input | sort -V); do echo "*** Running test $f" prepare_testdir ${f%.input} cp $f $TESTDIR/usr/lib/sysusers.d/test.conf - $SYSUSERS --root=$TESTDIR 2>&1 | tail -n1 > $TESTDIR/err + $SYSUSERS --root=$TESTDIR 2>&1 | tail -n1 | sed -r 's/^[^:]+:[^:]+://' >$TESTDIR/err if ! diff -u $TESTDIR/err ${f%.*}.expected-err; then echo "**** Unexpected error output for $f" cat $TESTDIR/err |