Browse Source

Merge branch 'hotfix-0.5.1' into stable

Bertrand Gouny 11 years ago
parent
commit
5f6a2c1530
3 changed files with 4 additions and 4 deletions
  1. 1 1
      test/build.sh
  2. 2 2
      test/tools/delete-container.sh
  3. 1 1
      test/tools/delete-image.sh

+ 1 - 1
test/build.sh

@@ -4,5 +4,5 @@ dir=$(dirname $0)
 . $dir/tools/config.prop
 
 docker.io build -t $openldapTestImage .
-#docker.io build --no-cache=true -t openldap-test .
+#docker.io build --no-cache=true -t $openldapTestImage .
 

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

@@ -6,6 +6,6 @@
 res=$(docker.io ps -a | grep -c "$openldapTestContainer")
 
 if [ $res -ne 0 ]; then
-  docker.io stop openldap-test-container
-  docker.io rm openldap-test-container
+  docker.io stop $openldapTestContainer
+  docker.io rm $openldapTestContainer
 fi

+ 1 - 1
test/tools/delete-image.sh

@@ -6,5 +6,5 @@
 res=$(docker.io images | grep -c "$openldapTestImage")
 
 if [ $res -ne 0 ]; then
-  docker.io rmi openldap-test
+  docker.io rmi $openldapTestImage
 fi