]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: no longer load libnss_{files|dns} 21778/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 31 Dec 2021 23:14:59 +0000 (23:14 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 3 Jan 2022 04:36:37 +0000 (04:36 +0000)
Those libraries aren't provided by systemd so they shouldn't be
included here

src/test/test-nss-hosts.c
src/test/test-nss-users.c

index eac2c74f4c587eb584947e5a5689a1223c2b718f..3ae38acb17e72a3c02e41cc0ea20fc5de30843c1 100644 (file)
@@ -420,7 +420,7 @@ static int parse_argv(int argc, char **argv,
 #if ENABLE_NSS_MYMACHINES
                                 "mymachines",
 #endif
-                                "dns");
+                                NULL);
         assert_se(modules);
 
         if (argc > 2) {
index c415c0ca3b74c93d0f84b72285530b0a0db9137e..88e2764e99d5aa5be81cf4f651ae12ae507ad5ff 100644 (file)
@@ -214,7 +214,7 @@ static int parse_argv(int argc, char **argv,
 #if ENABLE_NSS_MYMACHINES
                                 "mymachines",
 #endif
-                                "files");
+                                NULL);
         assert_se(modules);
 
         if (argc > 2)