guix/tests
Ludovic Courtès 151afd84dc
daemon: Substitute queries return immediately when substitutes are disabled.
Reported by Federico Beffa <beffa@ieee.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00928.html>.

* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths)
(LocalStore::querySubstitutablePathInfos): Return when
'settings.useSubstitutes' is false.
* tests/store.scm ("references/substitutes missing reference info"):
Make sure to return #f on failure.
* tests/store.scm ("substitutable-path-info when substitutes are turned off"):
("substitutable-paths when substitutes are turned off"): New tests.
2016-05-31 18:22:14 +02:00
..
base32.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +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 build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
builders.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
challenge.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
containers.scm container: Gracefully report mount errors in the child process. 2016-05-31 00:11:04 +02:00
cpan.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cpio.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cran.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
derivations.scm derivations: 'derivation' sorts items in the resulting object. 2016-05-21 01:35:14 +02:00
elpa.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
file-systems.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gem.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gexp.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gnu-maintenance.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
grafts.scm grafts: Rename files whose name matches a graft. 2016-05-21 01:35:14 +02:00
graph.scm graph: Add 'node-reachable-count'. 2016-05-24 00:06:01 +02:00
gremlin.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
guix-archive.sh guix archive: Add '--extract'. 2015-10-19 10:10:47 +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 packages: Support the deprecated "NAME-VERSION" syntax. 2016-03-08 11:38:46 +01:00
guix-daemon.sh tests: Disable grafts by default. 2016-03-02 14:47:07 +01:00
guix-download.sh guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
guix-environment-container.sh container: Gracefully report mount errors in the child process. 2016-05-31 00:11:04 +02:00
guix-environment.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-gc.sh guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
guix-graph.sh graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
guix-hash.sh guix hash: Add '--recursive'. 2014-02-21 23:49:52 +01:00
guix-lint.sh tests: Do not run 'cve' checker in 'tests/guix-lint.sh'. 2016-05-24 14:45:18 +02:00
guix-package-net.sh guix package: '--search-paths' can report combined search paths. 2015-11-11 00:37:50 +01:00
guix-package.sh guix package: Inherit the transformed version number. 2016-05-27 22:05:34 +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 services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
hackage.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
hash.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
import-utils.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
lint.scm lint: 'check-vulnerabilities' follows package replacements. 2016-04-28 18:03:01 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
packages.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pk-crypto.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pki.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
profiles.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
publish.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pypi.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
records.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
scripts-build.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
scripts.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
services.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
sets.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
signing-key.pub
signing-key.sec
size.scm size: 'store-profile' takes a list of store items. 2016-05-24 23:05:28 +02:00
snix.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
store.scm daemon: Substitute queries return immediately when substitutes are disabled. 2016-05-31 18:22:14 +02:00
substitute.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
syscalls.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00
system.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
test.drv
ui.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
union.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
upstream.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
utils.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00