guix-devel/tests
Ludovic Courtès 2225d56a14
profiles: Correctly deal with etc/ being a relative symlink.
Fixes <https://bugs.gnu.org/32686>.
Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* guix/build/profiles.scm (ensure-writable-directory): Add #:symlink.
[absolute?]: New procedure.
[unsymlink]: Use it to determine how to resolve readlink's result.
(build-profile): Pass SYMLINK to 'ensure-writable-directory'.
* tests/profiles.scm ("profile-derivation when etc/ is a relative symlink"):
New test.
2018-09-11 00:14:58 +02:00
..
base16.scm
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm
bournish.scm
build-utils.scm
builders.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cache.scm
challenge.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
combinators.scm
containers.scm
cpan.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cpio.scm
cran.scm
crate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cve-sample.xml
cve.scm
debug-link.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
derivations.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
discovery.scm
elpa.scm tests: elpa: Don't actually download files. 2018-03-18 22:33:41 +01:00
file-systems.scm uuid: Move tests to 'tests/uuid.scm'. 2017-09-14 00:10:13 +02:00
gem.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gexp.scm gexp: 'file-union' accepts directory names. 2018-09-08 23:02:01 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm
grafts.scm graft: Correctly replace references near the end of the scan buffer. 2017-08-24 23:55:51 +02:00
graph.scm tests: Adjust graph test. 2018-06-06 14:37:35 +02:00
gremlin.scm gremlin: 'elf-dynamic-info-needed' test is no longer skipped. 2018-08-21 23:27:08 +02:00
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
guix-daemon.sh guix-daemon: Disable garbage collection for remote connections. 2018-04-19 19:06:26 +02:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh
guix-environment-container.sh environment: Add --user. 2018-03-02 11:55:43 +01:00
guix-environment.sh environment: Add --manifest option. 2018-02-21 22:16:38 -05:00
guix-gc.sh guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack.sh tests: Skip 'guix-pack.sh'. 2018-07-05 21:35:55 +02:00
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 vm: Make UUID computation really deterministic. 2018-09-07 11:40:05 +02:00
hackage.scm import: hackage: Evaluate "-any" and "-none" version comparison operators. 2018-07-12 20:35:04 +02:00
import-utils.scm import: utils: 'alist->package' allows false license. 2018-02-16 11:10:12 +01:00
inferior.scm inferior: Add home-page and location package accessors. 2018-09-04 17:22:55 +02:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
modules.scm
monads.scm
nar.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
opam.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pack.scm pack: Adjust test to expect relative symlinks. 2018-06-01 15:17:41 +02:00
packages.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm import: Add package->code. 2017-09-28 13:10:10 +02:00
profiles.scm profiles: Correctly deal with etc/ being a relative symlink. 2018-09-11 00:14:58 +02:00
publish.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pypi.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts-build.scm guix build: Support '--with-source=PACKAGE@VERSION=URI'. 2017-12-23 00:05:05 +01:00
scripts.scm
search-paths.scm
services.scm services: 'instantiate-missing-services' reaches fixed point. 2018-09-07 23:00:39 +02:00
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 Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
store.scm tests: Adjust 'add-file-tree-to-store' test for lack of /bin/sh. 2018-09-05 13:59:10 +02:00
substitute.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
syscalls.scm syscalls: Define AT_SYMLINK_NOFOLLOW et al. 2018-07-03 17:50:04 +02:00
system.scm system: Mapped devices needed for boot do not yield Shepherd services. 2018-06-21 23:54:15 +02:00
test.drv
texlive.scm
ui.scm
union.scm union: Add 'relative-file-name'. 2018-05-10 14:53:56 +02:00
upstream.scm
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
uuid.scm uuid: 'uuid' returns #f when 'string->uuid' returns #f. 2018-05-19 00:14:52 +02:00
workers.scm workers: Add test with exceptions. 2017-11-17 10:47:49 +01:00
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00