mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-15 13:45:35 +02:00
add test for using docker cli
This commit is contained in:
15
test/test.sh
Executable file
15
test/test.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
for dir in $(ls -d -- */); do
|
||||
test="${dir}run.sh"
|
||||
echo "################################################"
|
||||
echo "Now running $test"
|
||||
echo "################################################"
|
||||
echo ""
|
||||
/bin/sh $test
|
||||
echo ""
|
||||
echo "$test passed"
|
||||
echo ""
|
||||
done
|
||||
Reference in New Issue
Block a user