Whamcloud - gitweb
LU-589 auster: Export 'CONFIG' environment variable. 51/2051/4
authorChris Horn <hornc@cray.com>
Wed, 16 Apr 2014 14:39:01 +0000 (09:39 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Aug 2015 15:33:03 +0000 (15:33 +0000)
The 'CONFIG' variable defines the accsm configuration file. This
variable needs to be exported so that test-suite scripts use the
appropriate accsm configuration.

Change-Id: Ia0fdb4014d6eeefc3e08dced3d843427756c8587
Signed-off-by: Chris Horn <hornc@cray.com>
Reviewed-on: http://review.whamcloud.com/2051
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
lustre/tests/auster

index c0632bc..ef6ec12 100755 (executable)
@@ -71,7 +71,7 @@ export ${NAME:=local}
 while getopts "c:d:D:nkf:S:g:i:rRslhv" opt
 do
     case "$opt" in
 while getopts "c:d:D:nkf:S:g:i:rRslhv" opt
 do
     case "$opt" in
-        c) CONFIG=$OPTARG;;
+        c) export CONFIG=$OPTARG;;
         d) test_logs_dir=$OPTARG/$(date +%Y-%m-%d)/$(date +%H%M%S);;
         D) test_logs_dir=$OPTARG;;
         g) test_group_file=$OPTARG;;
         d) test_logs_dir=$OPTARG/$(date +%Y-%m-%d)/$(date +%H%M%S);;
         D) test_logs_dir=$OPTARG;;
         g) test_group_file=$OPTARG;;