]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
change test with over year check
authorBastian Dehn <hhaalo@arcor.de>
Mon, 17 Aug 2026 14:30:37 +0000 (16:30 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 17 Aug 2026 14:30:37 +0000 (16:30 +0200)
tests/backup_tests.bats

index f2307fb51c20b442504bdf0de82427b3a4f524fd..1001b6fe5a57ef2024eb830df883f644a96af7d6 100755 (executable)
@@ -1119,7 +1119,7 @@ teardown() {
        mkdir --parents "build/test"
        printf "none\nnone\n2000-01-01\n" > "build/test/stats"
        get_date() {
-               date --date="2000-01-01" +%s
+               echo "1999-01-01"
        }
 
        run main "check"