Archived
tests
This commit is contained in:
1 parent
4e610b3b46
commit
73bf28d2c5
8 files changed
+25
-30
No files matched your search
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# remove openldap test container
|
||||
sudo docker.io ps -a > testcontainer.out
|
||||
docker.io ps -a > testcontainer.out
|
||||
|
||||
if [ "$(grep -c "openldap-test-container" ./testcontainer.out)" -ne 0 ]; then
|
||||
sudo docker.io stop openldap-test-container
|
||||
sudo docker.io rm openldap-test-container
|
||||
docker.io stop openldap-test-container
|
||||
docker.io rm openldap-test-container
|
||||
fi
|
||||
|
||||
rm testcontainer.out
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# remove openldap test image
|
||||
docker.io images > testimage.out
|
||||
|
||||
if [ "$(grep -c "openldap-test" ./testimage.out)" -ne 0 ]; then
|
||||
docker.io rmi openldap-test
|
||||
fi
|
||||
|
||||
rm testimage.out
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
./test/tools/delete-container.sh
|
||||
./test/tools/delete-image.sh
|
||||
Reference in new issue
Block a user