From 6660f325c7ff071a52060d58825f2e7153325aa7 Mon Sep 17 00:00:00 2001
From: David Bigagli <david@schedmd.com>
Date: Tue, 31 Dec 2013 13:20:30 -0800
Subject: [PATCH] Modified the email header addign version and architecture of
 the test.

---
 testsuite/expect/driveregress.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/testsuite/expect/driveregress.py b/testsuite/expect/driveregress.py
index 3a5ead6a2b0..f16b2c7a28a 100755
--- a/testsuite/expect/driveregress.py
+++ b/testsuite/expect/driveregress.py
@@ -180,7 +180,6 @@ def configure_and_build(htab, conf, section):
         pass
 
     logger.info( 'root -> %s', htab['root'])
-
     logger.info('test: %s version: %s arch: %s multi: %s multiname: %s' \
                     % (section, version, arch, multi, multiname))
     buildpath = '%s/clusters/%s/%s/build' % (htab['root'], version, arch)
@@ -214,6 +213,8 @@ def configure_and_build(htab, conf, section):
         htab['multi'] = multi
         htab['multiname'] = multiname
     htab['section'] = section
+    htab['version'] = version
+    htab['arch'] = arch
 
     logger.info( 'buildpath -> %s', buildpath)
     logger.info( 'prefix -> %s', prefix)
@@ -481,7 +482,7 @@ def send_result(htab):
     except IOError as e:
         logger.error('Error failed open mailmsg file %s' % (e))
 
-    print >> fp, 'Finished test', htab['section']
+    print >> fp, 'Finished test', htab['section'], htab['version'], htab['arch']
     # open the regression file and send the tail
     # of it starting at 'Ending'
     ended = False
-- 
GitLab