Browse Source

Call readlink -f on additional configs

Mike Dillon 10 years ago
parent
commit
c8665b5191
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/run.sh

+ 2 - 2
test/run.sh

@@ -32,7 +32,7 @@ while true; do
 		--dry-run) dryRun=1 ;;
 		--help|-h|'-?') usage && exit 0 ;;
 		--test|-t) argTests["$1"]=1 && shift ;;
-		--config|-c) additionalConfigs+=("$1") && shift ;;
+		--config|-c) additionalConfigs+=("$(readlink -f "$1")") && shift ;;
 		--) break ;;
 		*)
 			{
@@ -55,7 +55,7 @@ declare -A testAlias=()
 declare -A imageTests=()
 declare -A globalExcludeTests=()
 
-# load default config
+# load the default config
 . "$dir/config.sh"
 
 # load additional user-specified configs