]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - nss/tests/pw.c
nss/tests: rename variable
[nsscash/nsscash.git] / nss / tests / pw.c
index b832b38d8c3967d19a5b06681fdb1f32b92d1f55..cf4f92d3844ad7eb33167634ad4efbb6037c4c66 100644 (file)
@@ -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);