Fixed internal test suite.

This commit is contained in:
Markus Makela
2015-09-29 16:36:12 +03:00
parent 96f76a1f2e
commit 638c2250c9
9 changed files with 29 additions and 48 deletions

View File

@ -270,7 +270,7 @@ char *home, buf[1024];
/* Unlink any existing password file before running this test */
sprintf(buf, "%s/passwd", default_cachedir);
sprintf(buf, "%s/passwd", get_datadir());
if(!is_valid_posix_path(buf))
exit(1);
if (strcmp(buf, "/etc/passwd") != 0)