From 88b347cdaf08ce5c3e76a100fb89e039ad352015 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Tue, 5 Mar 2013 14:30:24 -0800
Subject: [PATCH] update env var to current variable

---
 testsuite/expect/test7.2.prog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/expect/test7.2.prog.c b/testsuite/expect/test7.2.prog.c
index b2afd8a20ff..fd4b8ffe62e 100644
--- a/testsuite/expect/test7.2.prog.c
+++ b/testsuite/expect/test7.2.prog.c
@@ -63,7 +63,7 @@ main (int argc, char **argv)
 	gettimeofday(&tv1, NULL);
 
 	/* Get process count and our id from environment variables */
-	jobid_ptr  = getenv("SLURM_JOBID");
+	jobid_ptr  = getenv("SLURM_JOB_ID");
 	nprocs_ptr = getenv("SLURM_NPROCS");
 	procid_ptr = getenv("SLURM_PROCID");
 	if (jobid_ptr == NULL) {
-- 
GitLab