guix-devel/tests
Ludovic Courtès 57bdd79e48
grafts: Allow the replacement to have a different name.
* guix/build/graft.scm (replace-store-references): REPLACEMENT is now
the full string, not just the hash.
(rewrite-directory)[hash-mapping](valid-suffix?): Remove.
(hash+suffix): Rename to...
(hash+rest): ... this.  Change to return the whole string as the second
element of the list.  Adjust 'match-lambda' expression accordingly;
check whether the string length of the origin and replacement match.
* tests/grafts.scm ("graft-derivation, grafted item uses a different
name"): New test.
* doc/guix.texi (Security Updates): Update sentence on the name/version
restriction.
2016-10-03 23:16:48 +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
bournish.scm bournish: Allow compilation of multiple expressions. 2016-06-06 18:14:52 +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 tests: Skip all the container tests when needed. 2016-06-25 01:13:23 +02:00
cpan.scm tests: cpan: Fix mock urls. 2016-08-31 09:58:39 -05: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 import: Importers return prefixed licenses. 2016-08-28 14:04:50 +02:00
gexp.scm gexp: Add 'file-append'. 2016-09-09 23:54:43 +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: Allow the replacement to have a different name. 2016-10-03 23:16:48 +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 tests: Adjust 'guix build -S' test for source-less packages. 2016-10-03 15:24:21 +02: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 tests: Fix 'guix environment --container' test in the presence of tmpfs. 2016-08-29 00:09:44 +02:00
guix-environment.sh environment: Set 'GUIX_ENVIRONMENT' to the profile. 2016-07-26 17:59:25 +02: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 --exclude-vcs option. 2016-09-07 12:00:35 +02: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 tests: Improve synchronization in 'tests/guix-register.sh'. 2016-07-29 11:39:30 +02:00
guix-system.sh tests: Adjust to Shepherd error message change. 2016-07-20 14:49:01 +02:00
hackage.scm tests: hackage: Fix mock urls. 2016-09-01 13:40:49 +03:00
hash.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
import-utils.scm import: utils: Refactor license->symbol. 2016-09-28 13:17:15 +02:00
lint.scm guix: lint: Check descriptions for trademark signs. 2016-08-28 23:24:18 -05:00
modules.scm Add (guix modules). 2016-09-05 00:06:47 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm serialization: Add #:select? parameter to 'write-file'. 2016-06-12 23:55:22 +02:00
packages.scm packages: Add 'package-superseded' and associated support. 2016-09-06 23:22:10 +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 profiles: Add manifest-transaction helper procedures. 2016-09-06 23:22:10 +02:00
publish.scm tests: Make sure threads use separate output ports. 2016-08-02 18:07:19 +02:00
pypi.scm import: Importers return prefixed licenses. 2016-08-28 14:04:50 +02:00
records.scm records: Improve reporting of invalid field specifiers. 2016-07-14 19:07:07 +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 services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +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 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 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 services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm ui: 'string->duration' supports hours and seconds. 2016-06-09 23:34:56 +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
zlib.scm Add (guix zlib). 2016-07-19 00:07:12 +02:00