feat: db-tool: normalize-backup

This commit is contained in:
2026-06-03 08:14:22 +00:00
parent 63223329dd
commit b56dc50e50
4 changed files with 342 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# shellcheck shell=dash
HECTIC_NAMESPACE=test-db-tool-help
export HECTIC_NAMESPACE=test-db-tool-help
log notice "test case: database --help exits 0"
if ! database --help > /tmp/help-out.txt 2>&1; then
@@ -8,7 +8,7 @@ if ! database --help > /tmp/help-out.txt 2>&1; then
exit 1
fi
for tok in deploy pull_staging cleanup check log init migrator; do
for tok in deploy pull_staging cleanup check log init migrator normalize-backup; do
if ! grep -qF "$tok" /tmp/help-out.txt; then
log error "test failed: --help output missing token: $tok"
cat /tmp/help-out.txt >&2