Got tired of finding all of the weird dirs and removing them in order to make this test work.
@@ -77,8 +77,10 @@ cfgPathHonorsPriorityOrder(void** state)
homeConfDir};
int i;
for (i=0; i<sizeof(newdir)/sizeof(newdir[0]); i++) {
+ if (access(newdir[i], F_OK) == -1) {
assert_int_equal(mkdir(newdir[i], 0777), 0);
}
+ }
// get the basedir, set cwd and scopeHome from it
char basedir[MAX_PATH];
