check for correct file in tests

This commit is contained in:
Frederik Ring 2021-07-11 10:30:16 +02:00
parent d29d0d7399
commit c01555f052

View File

@ -19,7 +19,7 @@ docker exec $(docker ps -q -f name=backup) backup
docker run --rm -it \
-v test_stack_backup_data:/data alpine \
ash -c 'tar -xf /data/backup/test.tar.gz && test -f /backup/pg_data/pg_stat/PG_VERSION'
ash -c 'tar -xf /data/backup/test.tar.gz && test -f /backup/pg_data/PG_VERSION'
echo "[TEST:PASS] Found relevant files in untared backup."