Check for snapshot instead of warning message
This commit is contained in:
parent
2c86dae9ae
commit
5fca26542d
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ test-restic-incomplete-snapshot () {
|
|||
chmod 000 "$TEST_TMP/server/world/file1.txt"
|
||||
TIMESTAMP="$(date +%F_%H-%M-%S --date="2021-01-01")"
|
||||
OUTPUT="$(./backup.sh -i "$TEST_TMP/server/world" -r "$TEST_TMP/backups-restic" -s "$SCREEN_TMP" -f "$TIMESTAMP")"
|
||||
assertContains "$OUTPUT" "Incomplete snapshot taken"
|
||||
assertEquals 1 "$(restic list snapshots -r "$TEST_TMP/backups-restic" | wc -l)"
|
||||
# assertContains "$OUTPUT" "Incomplete snapshot taken"
|
||||
}
|
||||
|
||||
test-restic-no-snapshot () {
|
||||
|
|
Loading…
Add table
Reference in a new issue