docker-volume-backup/test/test.sh

18 lines
341 B
Bash
Raw Normal View History

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