diff options
| author | Florian Weimer <fweimer@redhat.com> | 2026-02-12 12:18:54 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2026-02-12 12:18:54 +0100 |
| commit | f5bab97a99be02a7e782e2a4fdbf6bcd762e9c3d (patch) | |
| tree | 4484aae6fc0698ed3ad01696201d98b39b9b5af3 /nscd/tst-nscd-basic.root | |
| parent | bba1920c8b20176986ee294d74cef404027d99e8 (diff) | |
| download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 | |
The innetgr tests are similar to a downstream test for rhbz#1054846.
This seems to be the first tests of this function. The getnetgrent
tests are new, too.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'nscd/tst-nscd-basic.root')
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/group | 5 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/host.conf | 1 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/hosts | 3 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/netgroup | 1 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/passwd | 5 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/etc/services | 2 | ||||
| -rw-r--r-- | nscd/tst-nscd-basic.root/tst-nscd-basic.script | 1 |
7 files changed, 18 insertions, 0 deletions
diff --git a/nscd/tst-nscd-basic.root/etc/group b/nscd/tst-nscd-basic.root/etc/group new file mode 100644 index 0000000..47770d7 --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/group @@ -0,0 +1,5 @@ +root:x:0: +wheel:x:10:user1,user2 +mock:x:135:user1 +user1:x:1000: +# The setup_files function appends more data to this file. diff --git a/nscd/tst-nscd-basic.root/etc/host.conf b/nscd/tst-nscd-basic.root/etc/host.conf new file mode 100644 index 0000000..d1a59f7 --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/host.conf @@ -0,0 +1 @@ +multi on diff --git a/nscd/tst-nscd-basic.root/etc/hosts b/nscd/tst-nscd-basic.root/etc/hosts new file mode 100644 index 0000000..edab34d --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/hosts @@ -0,0 +1,3 @@ +127.0.0.1 localhost localhost.localdomain +::1 localhost localhost.localdomain +192.0.2.1 www.example.com www diff --git a/nscd/tst-nscd-basic.root/etc/netgroup b/nscd/tst-nscd-basic.root/etc/netgroup new file mode 100644 index 0000000..97e2702 --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/netgroup @@ -0,0 +1 @@ +hero (,batman,) (private,clark,earth) (public,superman,) (,kalel,krypton) diff --git a/nscd/tst-nscd-basic.root/etc/passwd b/nscd/tst-nscd-basic.root/etc/passwd new file mode 100644 index 0000000..34035dc --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/passwd @@ -0,0 +1,5 @@ +root:x:0:0:Super User:/root:/bin/bash +bin:x:1:1:bin:/bin:/usr/sbin/nologin +adm:x:3:4:adm:/var/adm:/usr/sbin/nologin +user1:x:1000:1000:User One:/home/user1:/bin/bash +# The setup_files function appends more data to this file. diff --git a/nscd/tst-nscd-basic.root/etc/services b/nscd/tst-nscd-basic.root/etc/services new file mode 100644 index 0000000..8f27678 --- /dev/null +++ b/nscd/tst-nscd-basic.root/etc/services @@ -0,0 +1,2 @@ +exec 512/tcp +biff 512/udp comsat diff --git a/nscd/tst-nscd-basic.root/tst-nscd-basic.script b/nscd/tst-nscd-basic.root/tst-nscd-basic.script new file mode 100644 index 0000000..8c4d101 --- /dev/null +++ b/nscd/tst-nscd-basic.root/tst-nscd-basic.script @@ -0,0 +1 @@ +su |
