docker-volume-backup/test/test.sh

18 lines
341 B
Bash
Raw Normal View History

2021-07-11 13:27:01 +02:00
#!/bin/sh
set -e
2021-07-11 20:21:17 +02:00
TEST_VERSION=${1:-canary}
2021-07-11 13:27:01 +02:00
for dir in $(ls -d -- */); do
test="${dir}run.sh"
echo "################################################"
echo "Now running $test"
echo "################################################"
echo ""
2021-07-11 20:21:17 +02:00
TEST_VERSION=$TEST_VERSION /bin/sh $test
2021-07-11 13:27:01 +02:00
echo ""
echo "$test passed"
echo ""
done