Browse Source

Remove namespace stripping from test arguments

Allows tests to be defined for images other than official images
Mike Dillon 10 years ago
parent
commit
2fc2a1a4fe
1 changed files with 2 additions and 3 deletions
  1. 2 3
      test/run.sh

+ 2 - 3
test/run.sh

@@ -105,9 +105,8 @@ for dockerImage in "$@"; do
 		continue
 	fi
 	
-	noNamespace="${dockerImage##*/}"
-	repo="${noNamespace%:*}"
-	tagVar="${noNamespace#*:}"
+	repo="${dockerImage%:*}"
+	tagVar="${dockerImage#*:}"
 	#version="${tagVar%-*}"
 	variant="${tagVar##*-}"