Skip 'test-stack-overflow' that crashes when using QEMU transparent emulation. --- a/test-suite/standalone/Makefile.in 1970-01-01 01:00:01.000000000 +0100 +++ b/test-suite/standalone/Makefile.in 2021-01-11 10:59:31.606269449 +0100 @@ -102,8 +102,7 @@ test-scm-to-latin1-string$(EXEEXT) test-scm-values$(EXEEXT) \ test-scm-c-bind-keyword-arguments$(EXEEXT) \ test-srfi-4$(EXEEXT) $(am__append_6) $(am__EXEEXT_1) \ - test-smob-mark$(EXEEXT) test-smob-mark-race$(EXEEXT) \ - test-stack-overflow + test-smob-mark$(EXEEXT) test-smob-mark-race$(EXEEXT) check_PROGRAMS = test-num2integral$(EXEEXT) test-round$(EXEEXT) \ test-foreign-object-c$(EXEEXT) test-list$(EXEEXT) \ test-unwind$(EXEEXT) test-conversion$(EXEEXT) \ @@ -1938,7 +1937,7 @@ test-command-line-encoding test-command-line-encoding2 \ test-language test-guild-compile $(am__append_3) \ test-foreign-object-scm test-fast-slot-ref test-mb-regexp \ - test-use-srfi $(am__append_5) test-stack-overflow + test-use-srfi $(am__append_5) BUILT_SOURCES = $(am__append_2) EXTRA_DIST = test-import-order-a.scm test-import-order-b.scm \ test-import-order-c.scm test-import-order-d.scm \ 'active' href='/guix/log/tests/cache.scm'>logtreecommitdiff
path: root/tests/cache.scm
AgeCommit message (Expand)Author
2024-08-21cache: Avoid cache cleanup storms from concurrent processes....Reported by Christopher Baines <guix@cbaines.net>. * guix/cache.scm (maybe-remove-expired-cache-entries): Define ‘expiry-port’; create it with ‘lock-file’. Change ‘last-expiry-date’ accordingly. Write timestamp straight to ‘expiry-port’. * tests/cache.scm ("maybe-remove-expired-cache-entries, cleanup needed but lock taken"): New test. Change-Id: I22441d9d2c4a339d3d3878de131864db5a0ae826 Ludovic Courtès
2022-06-04cache: Catch invalid 'last-expiry-cleanup'....Fixes <http://issues.guix.gnu.org/55638>. * guix/cache.scm (maybe-remove-expired-cache-entries)[last-expiry-date]: Use 'get-string-all' + 'string->number' instead of 'read'; ignore invalid numbers. * tests/cache.scm ("maybe-remove-expired-cache-entries, empty cache") ("maybe-remove-expired-cache-entries, corrupted cache"): New tests. Co-authored-by: Ludovic Courtès <ludo@gnu.org> zimoun