1
0
mirror of https://github.com/offen/docker-volume-backup.git synced 2025-06-25 14:32:52 +02:00

Add test case for exec label (#132)

This commit is contained in:
Frederik Ring
2022-07-15 09:34:01 +02:00
committed by GitHub
parent 3f10d0f817
commit 26c8ba971f
3 changed files with 20 additions and 1 deletions

View File

@ -18,6 +18,11 @@ if [ ! -f ./backup/data/dump.sql ]; then
fi
pass "Found expected file."
if [ -f ./backup/data/not-relevant.txt ]; then
fail "Command ran for container with other label."
fi
pass "Command did not run for container with other label."
if [ -f ./backup/data/post.txt ]; then
fail "File created in post command was present in backup."
fi