diff options
author | DJ Delorie <dj@redhat.com> | 2020-11-09 22:08:04 -0500 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2020-12-04 17:16:01 -0500 |
commit | 6eceded941bb6dcc097291757e2aef5cd7212133 (patch) | |
tree | 36e148aa9721dfed3a8a39a96126d70c5b27f444 /nss/tst-reload1.root | |
parent | f8847d83e17774ed5e9c0f75ef693680b91bcae4 (diff) | |
download | glibc-6eceded941bb6dcc097291757e2aef5cd7212133.tar.gz glibc-6eceded941bb6dcc097291757e2aef5cd7212133.tar.xz glibc-6eceded941bb6dcc097291757e2aef5cd7212133.zip |
nsswitch: user new internal API (tests)
Testsuite support and new test for new API. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'nss/tst-reload1.root')
-rw-r--r-- | nss/tst-reload1.root/etc/nsswitch.conf | 3 | ||||
-rw-r--r-- | nss/tst-reload1.root/etc/nsswitch.conf2 | 3 | ||||
-rw-r--r-- | nss/tst-reload1.root/etc/services | 1 | ||||
-rw-r--r-- | nss/tst-reload1.root/tst-reload1.script | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/nss/tst-reload1.root/etc/nsswitch.conf b/nss/tst-reload1.root/etc/nsswitch.conf new file mode 100644 index 0000000000..606d8f51d6 --- /dev/null +++ b/nss/tst-reload1.root/etc/nsswitch.conf @@ -0,0 +1,3 @@ +passwd: test1 +group: test1 +hosts: test1 diff --git a/nss/tst-reload1.root/etc/nsswitch.conf2 b/nss/tst-reload1.root/etc/nsswitch.conf2 new file mode 100644 index 0000000000..2e93977efb --- /dev/null +++ b/nss/tst-reload1.root/etc/nsswitch.conf2 @@ -0,0 +1,3 @@ +passwd: test2 +group: test2 +hosts: test2 diff --git a/nss/tst-reload1.root/etc/services b/nss/tst-reload1.root/etc/services new file mode 100644 index 0000000000..94d4f07612 --- /dev/null +++ b/nss/tst-reload1.root/etc/services @@ -0,0 +1 @@ +http 80/tcp diff --git a/nss/tst-reload1.root/tst-reload1.script b/nss/tst-reload1.root/tst-reload1.script new file mode 100644 index 0000000000..a10beb1e6c --- /dev/null +++ b/nss/tst-reload1.root/tst-reload1.script @@ -0,0 +1,2 @@ +cp $B/nss/libnss_test1.so $L/libnss_test1.so.2 +cp $B/nss/libnss_test2.so $L/libnss_test2.so.2 |