Bertrand Gouny 11 years ago
parent
commit
fe18497e16
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Makefile
  2. 2 2
      test/tools/run-container.sh

+ 1 - 1
Makefile

@@ -9,7 +9,7 @@ build:
 	docker.io build -t $(NAME):$(VERSION) --rm .
 
 test:
-	env NAME=$(NAME) VERSION=$(VERSION) ./test.sh
+	env NAME=$(NAME) VERSION=$(VERSION) ./test-repository.sh
 
 tag_latest:
 	docker.io tag $(NAME):$(VERSION) $(NAME):latest

+ 2 - 2
test/tools/run-container.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 
-echo "docker.io run --name $testContainer $runOptions -d $testImage"
-ID=`docker.io run --name $testContainer $runOptions -d $testImage`
+echo "docker.io run --name $testContainer $runOptions -d $testImage $runCommand"
+ID=`docker.io run --name $testContainer $runOptions -d $testImage $runCommand`
 sleep 10
 
 echo " --> Obtaining IP"