#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize two nodes
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize and test one node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize one node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Just test whether the executables work
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize three nodes
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize one node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize one node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize one node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize two nodes
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo "[STEP] Skip this test if we aren't root or if 'ip netns' does not exist"
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initializing server node
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Skip this test if tools are missing
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Skip this test if we did not compile sptps_test
echo [STEP] Test transfer of a simple file
-reference=sptps-basic.test
+reference=testlib.sh
(
sleep 3
#!/bin/sh
# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Initialize one node