Skip to content
Snippets Groups Projects
Commit 037e68c9 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix unit test from asserting

7d9a75df uncovered that slurmdb_pack_assoc_usage() expects a usage
ptr.
parent 7d9a75df
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ START_TEST(invalid_protocol)
uint32_t x;
slurmdb_assoc_rec_t *assoc_rec = xmalloc(sizeof(slurmdb_assoc_rec_t));
assoc_rec->usage = xmalloc(sizeof(slurmdb_assoc_usage_t));
Buf buf = init_buf(1024);
pack32(22, buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment