mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 20:15:07 +00:00
test: mock defaults in tmutil tests to bypass early check added in #510
This commit is contained in:
@@ -267,6 +267,9 @@ set -euo pipefail
|
||||
source "$PROJECT_ROOT/lib/core/common.sh"
|
||||
source "$PROJECT_ROOT/lib/clean/system.sh"
|
||||
|
||||
defaults() { echo "1"; }
|
||||
|
||||
|
||||
clean_time_machine_failed_backups
|
||||
EOF
|
||||
|
||||
@@ -310,6 +313,9 @@ set -euo pipefail
|
||||
source "$PROJECT_ROOT/lib/core/common.sh"
|
||||
source "$PROJECT_ROOT/lib/clean/system.sh"
|
||||
|
||||
defaults() { echo "1"; }
|
||||
|
||||
|
||||
clean_time_machine_failed_backups
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user