Scripts now source dependencies using relative paths (previously breaking make depending on current directory).

This commit is contained in:
Marc CARRE committed 2016-12-13 16:00:37 +00:00
1 parent 29cb13cba6
commit 0dff07dc8b
68 files changed
+68 -68

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Test docker restart policy"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.4
C2=10.2.1.7
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.41
C2=10.2.1.71
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.4
C2=10.2.1.7
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Optional encryption via trusted subnets"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.41
C3=10.2.1.71
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.34
C2=10.2.1.37
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
weave_local_on() {
host=$1
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.4
C2=10.2.1.7
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
assert_targets() {
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.46
C2=10.2.1.47
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
show_multicast_route_on() {
exec_on $1 $2 ip route show 224.0.0.0/4
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.87
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.3.78
C2=10.2.3.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Check propagation of DNS entries when gossip is delayed"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.56.34
C2=10.2.54.91
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.54.34
C2=10.2.54.91
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.79
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Negative DNS queries"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.67
C2=10.2.0.43
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
IP=10.2.0.67
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
NAME=c1
DOMAIN=weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
IP=10.2.0.34
TARGET=seetwo.weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Resolve a non-weave address"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
NAME=seetwo.weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.43
C2=10.2.1.44
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Containers get same IP address on restart"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
UNIVERSE=10.2.0.0/16
C1=10.2.128.1
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Rolling restart with reset"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "rmpeer reclaims IP addresses of lost peers"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Observers can't vote"
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Observers can call election"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "IPAM ring seed mismatch"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "IPAM alloc range change"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Checking persistence of IPAM"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Specify initial IPAM seed"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
NAME=multicidr.weave.local
+1 -1
View File
@@ -7,7 +7,7 @@ check() {
assert_raises "timeout 10 cat <( $CMD )"
}
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "'detach' and 'hide' do not require IP allocation"
+1 -1
View File
@@ -1,7 +1,7 @@
#! /bin/bash
# Explicitly not called _test.sh - this isn't run, but imported by other tests.
. ./config.sh
. "$(dirname "$0")/config.sh"
IMAGE="joffrey/docker-py:1.8.1"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Check that docker inspect returns the weave IP"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
entrypoint() {
docker_on $HOST1 inspect --format="{{.Config.Entrypoint}}" "$@"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
expected_ip=10.2.1.1
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
build_image() {
docker_on $HOST1 build -t $1 >/dev/null - <<- EOF
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
NAME=seetwo.weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
CMD="run -e WEAVE_CIDR=10.2.1.4/24 $SMALL_IMAGE $CHECK_ETHWE_UP"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Check the proxy handles arbitrarily large http chunks"
# docker images returns all its data as one giant http chunk.
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
UNIVERSE=10.2.2.0/24
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Abuse of 'start' operation"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Boot the proxy with TLS-enabled Docker support"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.0.78
C2=10.2.0.34
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1=10.2.1.13
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Various launch-proxy configurations"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Proxy failure modes"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
UNIVERSE=10.2.0.0/16
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Detect hairpin mode"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1_NAME=c1.weave.local
C2_NAME=seetwo.weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
C1_NAME=c1.weave.local
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Test Docker Network plugin with specified subnet"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
start_suite "Test CNI plugin"
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
tear_down_kubeadm() {
for host in $HOSTS; do
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/bash
. ./config.sh
. "$(dirname "$0")/config.sh"
set -e
+1 -1
View File
@@ -4,7 +4,7 @@ set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
. ./config.sh
. "$(dirname "$0")/config.sh"
(cd ./tls && ./tls $HOSTS)