From f6c708d873c44b7ccd4de1144d026b504d878efc Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 Dec 2019 08:50:05 +0100 Subject: [PATCH] nss/tests: rename variable --- nss/tests/gr.c | 8 ++++---- nss/tests/pw.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nss/tests/gr.c b/nss/tests/gr.c index 487e673..c96cb03 100644 --- a/nss/tests/gr.c +++ b/nss/tests/gr.c @@ -336,7 +336,7 @@ static void test_limits(void) { int r; FILE *fh; - const char *nsscache_cmd = "../nsscash convert group " + const char *nsscash_cmd = "../nsscash convert group " "tests/limits tests/limits.nsscash 2> /dev/null"; // Entries which will not fit in uint16_t, nsscash must abort @@ -348,7 +348,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 1); @@ -359,7 +359,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 1); @@ -374,7 +374,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 0); diff --git a/nss/tests/pw.c b/nss/tests/pw.c index b832b38..cf4f92d 100644 --- a/nss/tests/pw.c +++ b/nss/tests/pw.c @@ -321,7 +321,7 @@ static void test_limits(void) { int r; FILE *fh; - const char *nsscache_cmd = "../nsscash convert passwd " + const char *nsscash_cmd = "../nsscash convert passwd " "tests/limits tests/limits.nsscash 2> /dev/null"; // Entries which will not fit in uint16_t, nsscash must abort @@ -333,7 +333,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 1); @@ -344,7 +344,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 1); @@ -357,7 +357,7 @@ static void test_limits(void) { r = fclose(fh); assert(r == 0); - r = system(nsscache_cmd); + r = system(nsscash_cmd); assert(r != -1); assert(WIFEXITED(r) && WEXITSTATUS(r) == 0); -- 2.43.2