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:
Nicolas Williams
2020-09-17 23:44:53 -05:00
parent 916cafe4e5
commit 461f360b58

View File

@@ -655,9 +655,8 @@ slave_status(krb5_context context,
(void) unlink(file);
return;
}
krb5_warnx(context, "slave status change: %s", status);
rk_dumpdata(file, status, len);
krb5_warnx(context, "slave status change: %s", status);
free(status);
}