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)
committerJeremy Allison <jra@samba.org>
Tue, 2 Jul 2013 19:30:50 +0000 (12:30 -0700)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
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);