summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-07-01 13:02:46 +0200
committerJeremy Allison <jra@samba.org>2013-07-02 12:30:50 -0700
commitd5511b125ccfd9c46cad63796aa49258bcc0ae38 (patch)
tree600bed0e80c66afa71b76decd3d2346d66c45059 /selftest
parent7392985b2981cb82be5f99255faae1605972be53 (diff)
downloadsamba-d5511b125ccfd9c46cad63796aa49258bcc0ae38.tar.gz
samba-d5511b125ccfd9c46cad63796aa49258bcc0ae38.tar.bz2
samba-d5511b125ccfd9c46cad63796aa49258bcc0ae38.zip
selftest: Add a newline to root entries in the nss files.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 91a8133e71..26f5e92898 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1124,7 +1124,8 @@ $unix_name:x:$unix_uid:$unix_gids[0]:$unix_name gecos:$prefix_abs:/bin/false
pdbtest:x:$uid_pdbtest:$gid_nogroup:pdbtest gecos:$prefix_abs:/bin/false
";
if ($unix_uid != 0) {
- print PASSWD "root:x:$uid_root:$gid_root:root gecos:$prefix_abs:/bin/false";
+ print PASSWD "root:x:$uid_root:$gid_root:root gecos:$prefix_abs:/bin/false
+";
}
close(PASSWD);
@@ -1139,7 +1140,8 @@ domusers:X:$gid_domusers:
domadmins:X:$gid_domadmins:
";
if ($unix_gids[0] != 0) {
- print GROUP "root:x:$gid_root:";
+ print GROUP "root:x:$gid_root:
+";
}
close(GROUP);