guix-devel/tests
Ludovic Courtès e475211869
database: Reset timestamps to one second after the Epoch.
Previously, store items registered in the database by this code (for
instance, store items retrieved by 'guix offload' and passed to
'restore-file-set') would have an mtime of 0 instead of 1.

This would cause problems for things like .go files: Guile would
consider them to be older than the corresponding .scm file, and
consequently it would ignore them and possibly use another (incorrect)
.go file.

Reported by Ricardo Wurmus.

* guix/store/database.scm (reset-timestamps): Pass 1, not 0, to
'utime'.
* tests/store-database.scm ("register-path"): Check the mtime of FILE
and REF.
2018-07-20 15:01:33 +02:00
..
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm
cve-sample.xml
cve.scm
derivations.scm
discovery.scm
elpa.scm
file-systems.scm
gem.scm import: gem: Add recursive import. 2018-07-11 07:08:54 +03:00
gexp.scm gexp: 'imported-files/derivation' can copy files instead of symlinking. 2018-07-19 11:48:04 +02:00
glob.scm
gnu-maintenance.scm
grafts.scm
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh
guix-daemon.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack.sh
guix-package-net.sh
guix-package.sh guix package: Use relative symlinks to generations. 2018-07-13 17:28:39 +02:00
guix-system.sh
hackage.scm import: hackage: Evaluate "-any" and "-none" version comparison operators. 2018-07-12 20:35:04 +02:00
hash.scm hash: sha256 port now implements 'port-position'. 2018-07-19 17:08:53 +02:00
import-utils.scm
inferior.scm Add (guix inferior) and (guix scripts repl). 2018-07-13 17:28:39 +02:00
lint.scm
modules.scm
monads.scm
nar.scm serialization: Add 'write-file-tree'. 2018-07-19 11:48:04 +02:00
opam.scm guix: Add opam importer. 2018-07-10 10:11:01 +02:00
pack.scm
packages.scm
pk-crypto.scm
pki.scm
print.scm
profiles.scm
publish.scm
pypi.scm
records.scm
scripts-build.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store-database.scm database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
store-deduplication.scm
store.scm store: Add 'add-file-tree-to-store'. 2018-07-19 11:48:04 +02:00
substitute.scm
syscalls.scm
system.scm
test.drv
texlive.scm
ui.scm
union.scm
upstream.scm
utils.scm
uuid.scm
workers.scm
zlib.scm