diff options
Diffstat (limited to 'test/test-sysusers.sh.in')
-rwxr-xr-x | test/test-sysusers.sh.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-sysusers.sh.in b/test/test-sysusers.sh.in index 950dc297d8..fab37960bc 100755 --- a/test/test-sysusers.sh.in +++ b/test/test-sysusers.sh.in @@ -99,6 +99,14 @@ $SYSUSERS --root=$TESTDIR \ compare $SOURCE/inline "(--inline --replace=…)" +echo "*** Testing --inline with no /etc" +rm -rf $TESTDIR/etc +$SYSUSERS --root=$TESTDIR --inline \ + "u u1 222 - - /bin/zsh" \ + "g g1 111" + +compare $SOURCE/inline "(--inline)" + rm -f $TESTDIR/etc/sysusers.d/* $TESTDIR/usr/lib/sysusers.d/* cat >$TESTDIR/etc/login.defs <<EOF |