From f3df48772bb067e00c42128a39f484f02817541d Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 7 Aug 2026 17:06:03 +0200 Subject: [PATCH] change rsync mock no param var --- tests/backup_tests.bats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/backup_tests.bats b/tests/backup_tests.bats index abcc279..cbde723 100755 --- a/tests/backup_tests.bats +++ b/tests/backup_tests.bats @@ -18,8 +18,7 @@ setup() { [ "$RSYNC_LOG_RUNS" -eq "0" ] || return 0 echo "${#@}" > "$RSYNC_LOG" - local params=("$@") - printf "%s\n" "${params[@]}" >> "$RSYNC_LOG" + printf "%s\n" "$@" >> "$RSYNC_LOG" } } -- 2.47.3