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
file-systems.scm
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
gnu-maintenance.scm
grafts.scm
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-daemon.sh
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
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
inferior.scm inferior: Add home-page and location package accessors. 2018-09-04 17:22:55 +02:00
lint.scm
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
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
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
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
zlib.scm