Whamcloud - gitweb
LU-11045 test: use provided directory in racer/racer.sh 14/32514/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 23 May 2018 15:03:46 +0000 (10:03 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2018 06:00:13 +0000 (06:00 +0000)
In racer/racer.sh use the directory provided by the parent script
rather than the environmental variable $DIR.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Iab753c34752462a30e7263b7c304e1626e5cc343
Reviewed-on: https://review.whamcloud.com/32514
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/racer/racer.sh

index cb24051..fc6ceb8 100755 (executable)
@@ -1,9 +1,8 @@
 #!/bin/bash
 #set -x
 
+DIR="$1"
 MAX_FILES=${MAX_FILES:-20}
-DIR=${DIR:-$1}
-DIR=${DIR:-"/mnt/lustre/racer"}
 DURATION=${DURATION:-$((60*5))}
 MDSCOUNT=${MDSCOUNT:-1}