From: Simon Ruderich Date: Sun, 15 Dec 2019 07:50:05 +0000 (+0100) Subject: nss/tests: rename variable X-Git-Tag: 0.1~15 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f6c708d873c44b7ccd4de1144d026b504d878efc;p=nsscash%2Fnsscash.git nss/tests: rename variable --- 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);