build: Support running the test suite from a directory with symlinks.
authorLudovic Courtès <ludo@gnu.org>
Sat, 5 Jul 2014 17:07:38 +0000 (19:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 5 Jul 2014 17:15:08 +0000 (19:15 +0200)
commit8ad49499b98b53ac105acd6fe58225b37e60e40b
tree93fd4bf4a177cf0dc660ccb3a41f1fde4f5b2e10
parent8731e527496ee6834cfbfb786186d49ff0c0cfab
build: Support running the test suite from a directory with symlinks.

Fixes <http://bugs.gnu.org/17935>.
Reported by Alex Kost <alezost@gmail.com>.

* test-env.in: Canonicalize $NIX_STORE_DIR, and remove
  $NIX_IGNORE_SYMLINK_STORE setting.
* tests/guix-register.sh: Likewise, canonicalize $new_store_dir and
  $new_store and leave $NIX_IGNORE_SYMLINK_STORE unchanged.
test-env.in
tests/guix-register.sh