iprop: Slight test race condition fix
tests/kdc/check-iprop.in tends to wait for a log message then it reads a status file. Well, we shouldn't write the log message before writing the status file then!
This commit is contained in:
@@ -655,9 +655,8 @@ slave_status(krb5_context context,
|
|||||||
(void) unlink(file);
|
(void) unlink(file);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
krb5_warnx(context, "slave status change: %s", status);
|
|
||||||
|
|
||||||
rk_dumpdata(file, status, len);
|
rk_dumpdata(file, status, len);
|
||||||
|
krb5_warnx(context, "slave status change: %s", status);
|
||||||
free(status);
|
free(status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user