Bertrand Gouny 11 年之前
父节点
当前提交
fe18497e16
共有 2 个文件被更改,包括 3 次插入3 次删除
  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"