selftest: Add a newline to root entries in the nss files.
authorAndreas Schneider <asn@samba.org>
Mon, 1 Jul 2013 11:02:46 +0000 (13:02 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Jul 2013 07:33:29 +0000 (09:33 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit d5511b125ccfd9c46cad63796aa49258bcc0ae38)

selftest/target/Samba3.pm

index 91a8133e71f57ed920d70ccd7dd0cae89ff9e2c8..26f5e92898a63c62fd9580ae3145f5ea484e7eb7 100755 (executable)
@@ -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);