root = true [*.{c,h,cpp,hpp,el,scm,ac,am,m4,po}{,.in}] end_of_line = lf insert_final_newline = true charset = utf-8 trim_trailing_whitespace = true [*.{c,h,cpp,hpp,ac,am,m4,el,scm}{,.in}] max_line_length = 85 [*.{c,h,cpp,hpp,ac,m4,el,scm}{,.in}] indent_style = space [*.{c,h,cpp,hpp}{,.in}] indent_size = 4 koszko' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiff
path: root/tests/cache.scm
AgeCommit message (Expand)Author
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
2020-03-22Remove workaround for 'time-monotonic' in Guile 2.2.2....This is a followup to e688c2df3924423b67892cc9939ca099c729d1cb. * build-aux/hydra/evaluate.scm <top level>: Remove 'time-monotonic' definition. * guix/cache.scm: Likewise. * guix/progress.scm: Likewise. * guix/scripts/substitute.scm: Likewise. * guix/scripts/weather.scm: Likewise. * tests/cache.scm: Likewise. Ludovic Courtès