Archived
nouveaux tests
This commit is contained in:
1 parent
e553d3749d
commit
6cfd595bd5
11 files changed
+32
-14
No files matched your search
Regular → Executable
+5
@@ -1,3 +1,8 @@
|
||||
testImage=openldap-test
|
||||
testContainer=openldap-test-container
|
||||
testDir=/osixia-test-docker-openldap
|
||||
|
||||
export testImage
|
||||
export testContainer
|
||||
export testDir
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
testImage=osixia/openldap:latest
|
||||
testContainer=openldap-repository-test-container
|
||||
testDir=/osixia-repository-test-docker-openldap
|
||||
|
||||
export testImage
|
||||
export testContainer
|
||||
export testDir
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$(dirname $0)
|
||||
. $dir/tools/config.prop
|
||||
|
||||
if [ -d "$testDir" ]; then
|
||||
rm -r $testDir
|
||||
|
||||
+1
-2
@@ -1,9 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$(dirname $0)
|
||||
. $dir/tools/config.prop
|
||||
|
||||
. $dir/tools/run-container.sh
|
||||
|
||||
echo "ldapsearch -x -h $IP -b dc=example,dc=com"
|
||||
ldapsearch -x -h $IP -b dc=example,dc=com
|
||||
|
||||
|
||||
+1
-2
@@ -1,9 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$(dirname $0)
|
||||
. $dir/tools/config.prop
|
||||
|
||||
. $dir/tls/run.sh
|
||||
|
||||
echo "ldapsearch -x -h $certCN -b dc=example,dc=com -ZZ"
|
||||
ldapsearch -x -h $certCN -b dc=example,dc=com -ZZ
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/config.prop
|
||||
|
||||
docker.io build -t $testImage .
|
||||
#docker.io build --no-cache=true -t $testImage .
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/config.prop
|
||||
|
||||
# remove test container
|
||||
res=$(docker.io ps -a | grep -c "$testContainer")
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/config.prop
|
||||
|
||||
# remove test image
|
||||
res=$(docker.io images | grep -c "$testImage")
|
||||
|
||||
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$(dirname $0)
|
||||
$dir/delete-container.sh > /dev/null 2>&1
|
||||
$dir/delete-image.sh > /dev/null 2>&1
|
||||
./test/tools/delete-container.sh
|
||||
./test/tools/delete-image.sh > /dev/null 2>&1
|
||||
|
||||
echo "------- End -------"
|
||||
echo $error " failed " $ok " succeeded"
|
||||
Reference in new issue
Block a user