guix-devel/tests
Ludovic Courtès 0043558082 publish: Do not publish nars for invalid store items.
Before that, /nar requests could succeed if the requested store item
exists but is invalid (although such requests were unlikely because the
corresponding narinfo request would have failed.)

* guix/scripts/publish.scm (render-nar): Add 'store' parameter.  Use
'valid-path?' instead of 'file-exists?'.
(make-request-handler): Adjust 'render-nar' call accordingly.
* tests/publish.scm ("/nar/invalid"): New test.
2016-02-25 12:44:41 +01: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 tests: Unset 'LOCPATH' before running bootstrap program. 2015-09-24 21:21:02 +02:00
builders.scm tests: Skip tests that would fail due to the shebang length. 2015-02-24 00:01:34 +01:00
challenge.scm Add 'guix challenge'. 2015-10-20 00:57:36 +02:00
containers.scm build: container: Add feature test predicates. 2015-11-03 11:41:04 -05: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
cran.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm Add (guix cve). 2015-11-26 22:35:01 +01:00
derivations.scm derivations: Move grafts to (guix grafts). 2016-02-22 22:11:37 +01:00
elpa.scm tests: Use the right identifier in tests/elpa.scm. 2015-07-08 15:30:49 +02:00
file-systems.scm file-systems: 'uuid' raises a syntax error for invalid UUIDs. 2015-07-16 09:49:36 +02:00
gem.scm import: gem: Beautify only the description, not the synopsis. 2016-01-20 21:52:52 +10:00
gexp.scm tests: Skip 'program-file' test when shebang is too long. 2015-11-04 11:59:46 +01:00
gnu-maintenance.scm gnu-maintenance: Add tests for 'release-file?'. 2015-12-07 23:32:01 +01:00
grafts.scm grafts: 'name' parameter of 'graft-derivation' is now optional. 2016-02-22 22:11:37 +01:00
graph.scm tests: Use sed instead of grep as a package with no dependencies. 2016-01-13 18:19:01 +01:00
gremlin.scm gremlin: Add support for the expansion of $ORIGIN in RUNPATH. 2015-04-23 18:52:40 +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 guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
guix-daemon.sh store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs. 2015-09-28 22:54:04 +02: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 scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01: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: Add '%bag-with-origins-node-type'. 2015-11-23 23:34:15 +01: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: '--search-paths' can report combined search paths. 2015-11-11 00:37:50 +01:00
guix-package.sh guix package: Allow multiple '--search' flags. 2016-01-05 00:28:42 +01: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 import: hackage: Add new tests. 2015-11-26 18:17:23 +01:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
import-utils.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
lint.scm tests: Use 'dummy-origin' for lint tests when possible. 2016-01-28 16:31:38 +01:00
monads.scm monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm tests: Work around Btrfs handling of nlink for empty directories. 2015-08-26 00:43:36 +02:00
packages.scm grafts: 'name' parameter of 'graft-derivation' is now optional. 2016-02-22 22:11:37 +01: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: Honor search paths of propagated inputs. 2015-12-20 22:34:22 +01:00
publish.scm publish: Do not publish nars for invalid store items. 2016-02-25 12:44:41 +01:00
pypi.scm import: pypi: Use "pypi-uri" instead of building the URL manually. 2015-11-03 21:38:13 +01:00
records.scm tests: Avoid sequence of zero expressions. 2015-06-11 23:33:32 +02:00
scripts-build.scm guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
scripts.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
services.scm services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03: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 tests: Adjust tests for new bootstrap Guile. 2015-07-12 01:27:00 +02:00
snix.scm utils: Remove Nixpkgs helpers. 2015-10-06 23:51:04 +02:00
store.scm store: Add monadic access to '%current-system'. 2016-02-12 21:54:25 +01:00
substitute.scm substitute: Honor all the specified server URLs. 2015-10-28 12:04:03 +01:00
syscalls.scm build: container: Add feature test predicates. 2015-11-03 11:41:04 -05:00
system.scm system: grub: Search root device by label or UUID if possible. 2016-01-22 00:02:52 +01:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm ui: Gracefully handle Unicode description strings. 2015-09-24 22:04:51 +02:00
union.scm tests: Factorize the network reachability test. 2015-02-24 00:01:34 +01:00
utils.scm utils: Add 'ensure-keyword-arguments'. 2016-01-06 23:08:22 +01:00