save works
This commit is contained in:
parent
47fc32b02c
commit
43dc12a36c
19 changed files with 80 additions and 72 deletions
|
|
@ -281,8 +281,6 @@ static void test_job_create(void)
|
|||
&& (j2->job.submit->mintasks == 1) && (j2->job.submit->maxtasks == 5)
|
||||
&& (j2->job.submit->user_group == NULL));
|
||||
|
||||
dereference(j2);
|
||||
|
||||
destroy(jobmgr);
|
||||
|
||||
job_obj_fini();
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ static void test_queue_create(void)
|
|||
|
||||
TEST_ASSERT_TRUE(q != NULL);
|
||||
|
||||
dereference(q);
|
||||
|
||||
destroy(qmgr);
|
||||
xstring_table_fini();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ void test_parse_section_fail(void)
|
|||
"same[type] same[abcd] affinity[core(20)]";
|
||||
char* errmsg = NULL;
|
||||
int rc = 0;
|
||||
xce_resreq_data_t data;
|
||||
xce_resreq_data_t data = {0};
|
||||
|
||||
rc = parse_section(&data, (char*)resreq, &errmsg);
|
||||
TEST_ASSERT_TRUE(rc < 0);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ static void test_worker_create(void)
|
|||
&& (w->host.attrs->cpufactor == attrs1.cpufactor)
|
||||
&& (w->host.attrs->maxcpus == attrs1.maxcpus));
|
||||
|
||||
dereference(w);
|
||||
destroy(workermgr);
|
||||
|
||||
xstring_table_fini();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue