From ecad8564dadd44dc1385466a8a6692556e094f44 Mon Sep 17 00:00:00 2001
From: tewk <tewk@unknown>
Date: Mon, 17 Jun 2002 14:53:24 +0000
Subject: [PATCH] a method called did not return a value.

Small code change, always reports a success for that test
---
 testsuite/slurm_unit/slurmctld/job_mgr-test.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/slurm_unit/slurmctld/job_mgr-test.c b/testsuite/slurm_unit/slurmctld/job_mgr-test.c
index da348b25802..0abec508579 100644
--- a/testsuite/slurm_unit/slurmctld/job_mgr-test.c
+++ b/testsuite/slurm_unit/slurmctld/job_mgr-test.c
@@ -64,7 +64,8 @@ main (int argc, char *argv[])
 	}
 	else pass( "update_job");
 
-	error_code = pack_all_jobs (&dump, &dump_size, &update_time);
+	error_code = 0;
+       	pack_all_jobs (&dump, &dump_size, &update_time);
 	if (error_code)
 		fail ("dump_all_job error %d", error_code);
 	else pass( "dump_all_job");
-- 
GitLab