guix/tests
Ludovic Courtès 895d1eda54 substitute: Store cached narinfo in cache-specific sub-directories.
This ensures that switching between different substitute servers doesn't lead
to a polluted narinfo cache.

* guix/scripts/substitute.scm (narinfo-cache-file): Add 'cache-url'
  parameter.  Add the base32 of CACHE-URL as a sub-directory under
  %NARINFO-CACHE-DIRECTORY.  Update callers.
  (cached-narinfo): Likewise.  Call 'mkdir-p' on the dirname of the cache
  file.  Update callers.
  (remove-expired-cached-narinfos): Add 'directory' parameter and use it
  instead of %NARINFO-CACHE-DIRECTORY.
  (narinfo-cache-directories): New procedure.
  (maybe-remove-expired-cached-narinfo): Call 'remove-expired-cached-narinfos'
  for each item returned by 'narinfo-cache-directories'.
2015-07-13 18:29:01 +02:00
..
base32.scm base32: Use a custom error condition instead of 'misc-error'. 2015-05-31 22:39:48 +02:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
build-utils.scm utils: Allow wrap-program to be called multiple times. 2014-09-13 21:53:21 -05:00
builders.scm tests: Skip tests that would fail due to the shebang length. 2015-02-24 00:01:34 +01:00
containers.scm gnu: build: Add Linux container module. 2015-07-09 08:23:03 -04:00
cpan.scm import: cpan: Update tests for dependency handling. 2015-02-20 16:05:15 -06:00
cpio.scm Add (guix cpio). 2015-06-24 18:05:03 +02:00
derivations.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
elpa.scm tests: Use the right identifier in tests/elpa.scm. 2015-07-08 15:30:49 +02:00
gexp.scm store: 'run-with-store' initializes %CURRENT-TARGET-SYSTEM to #f. 2015-07-08 00:06:45 +02:00
gremlin.scm gremlin: Add support for the expansion of $ORIGIN in RUNPATH. 2015-04-23 18:52:40 +02:00
guix-archive.sh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
guix-authenticate.sh authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
guix-build.sh guix: build: Add transitive source building. 2015-05-02 23:15:40 -05:00
guix-daemon.sh Fix remaining references to "substitute-binary". 2015-03-26 23:54:59 +01:00
guix-download.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-environment.sh tests: Test the exit code of 'guix environment'. 2015-07-08 00:06:45 +02:00
guix-gc.sh gc: ignore trailing slash or subdirectories for `guix gc -d' 2015-05-26 22:26:01 +02:00
guix-hash.sh guix hash: Add '--recursive'. 2014-02-21 23:49:52 +01:00
guix-lint.sh lint: Fix argument parsing when several packages are specified. 2015-01-28 14:00:58 +01:00
guix-package-net.sh guix package: Add optional argument to --search-paths. 2015-05-20 12:13:39 +02:00
guix-package.sh guix package: --manifest DTRT when combined with --dry-run. 2015-05-25 21:34:23 +02:00
guix-register.sh guix-register: Perform deduplication even when --prefix is passed. 2015-06-10 13:47:58 +02:00
guix-system.sh ui: Auto-compile user code, and improve error reporting. 2015-05-25 21:34:23 +02:00
hackage.scm import: hackage: Refactor parsing code and add new options. 2015-06-09 09:48:38 +02:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
lint.scm lint: Add a 'derivation' checker. 2015-04-13 00:02:59 +02:00
monads.scm monads: Allow n-ary '>>=' expressions. 2015-06-08 23:00:49 +02:00
nar.scm tests: Move 'file=?' to (guix tests). 2015-06-24 18:05:03 +02:00
packages.scm guix: packages: Add package-direct-sources and package-transitive-sources. 2015-05-02 23:15:40 -05:00
pk-crypto.scm authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
pki.scm pki: Add 'signature-case' macro. 2014-03-31 23:34:20 +02:00
profiles.scm profiles: Gracefully deal with packages containing an etc/ symlink. 2015-05-18 09:47:29 +02:00
publish.scm scripts: Add 'publish' command. 2015-04-04 14:16:43 -04:00
pypi.scm import: pypi: Detect inputs. 2015-06-24 22:47:59 +02:00
records.scm tests: Avoid sequence of zero expressions. 2015-06-11 23:33:32 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
signing-key.pub daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
signing-key.sec daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
size.scm Add 'guix size'. 2015-06-18 00:36:09 +02:00
snix.scm import: Add PyPI importer. 2014-09-29 19:30:28 -04:00
store.scm substitute: Store cached narinfo in cache-specific sub-directories. 2015-07-13 18:29:01 +02:00
substitute.scm substitute: Rename cache directory from "substitute-binary" to "substitute". 2015-03-25 10:46:22 +01:00
syscalls.scm tests: Skip namespace-related tests when that feature is missing. 2015-07-10 23:46:52 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm ui: Honor --no-* options passed via $GUIX_BUILD_OPTIONS. 2015-02-26 00:04:36 +01:00
union.scm tests: Factorize the network reachability test. 2015-02-24 00:01:34 +01:00
utils.scm search-paths: Export 'string-tokenize*'. 2015-05-06 18:26:53 +02:00