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
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 1);
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 1);
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 0);
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
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 1);
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 1);
r = fclose(fh);
assert(r == 0);
- r = system(nsscache_cmd);
+ r = system(nsscash_cmd);
assert(r != -1);
assert(WIFEXITED(r) && WEXITSTATUS(r) == 0);