lix/tests
Eelco Dolstra 276a40b31f Handle case collisions on case-insensitive systems
When running NixOps under Mac OS X, we need to be able to import store
paths built on Linux into the local Nix store. However, HFS+ is
usually case-insensitive, so if there are directories with file names
that differ only in case, then importing will fail.

The solution is to add a suffix ("~nix~case~hack~<integer>") to
colliding files. For instance, if we have a directory containing
xt_CONNMARK.h and xt_connmark.h, then the latter will be renamed to
"xt_connmark.h~nix~case~hack~1". If a store path is dumped as a NAR,
the suffixes are removed. Thus, importing and exporting via a
case-insensitive Nix store is round-tripping. So when NixOps calls
nix-copy-closure to copy the path to a Linux machine, you get the
original file names back.

Closes #119.
2014-07-16 16:02:05 +02:00
..
lang Add builtin function ‘fromJSON’ 2014-07-04 13:34:15 +02:00
add.sh
binary-cache.sh Test executables in NARs 2014-02-26 18:59:01 +01:00
binary-patching.nix
binary-patching.sh nix-push: Support generating a manifest again 2012-07-26 18:28:12 -04:00
build-hook.hook.sh
build-hook.nix Fix test 2013-10-17 11:18:37 +02:00
build-hook.sh Fix test 2014-07-11 16:22:24 +02:00
case-hack.sh Handle case collisions on case-insensitive systems 2014-07-16 16:02:05 +02:00
case.nar Handle case collisions on case-insensitive systems 2014-07-16 16:02:05 +02:00
check-refs.nix
check-refs.sh
common.sh.in Add a test for repairing paths 2014-02-17 12:22:50 +01:00
config.nix Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00
dependencies.builder0.sh Test executables in NARs 2014-02-26 18:59:01 +01:00
dependencies.builder1.sh
dependencies.builder2.sh
dependencies.nix Test string semantics a bit more 2013-10-17 01:12:43 +02:00
dependencies.sh
dump-db.sh Add a test for nix-store --dump-db / --load-db 2014-02-26 17:47:54 +01:00
export-graph.nix Support quoted attribute names in -A 2013-11-18 10:21:12 +00:00
export-graph.sh Support quoted attribute names in -A 2013-11-18 10:21:12 +00:00
export.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
fallback.sh
fetchurl.nix
fetchurl.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
filter-source.nix
filter-source.sh
fixed.builder1.sh
fixed.builder2.sh
fixed.nix
fixed.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
gc-concurrent.builder.sh
gc-concurrent.nix
gc-concurrent.sh
gc-concurrent2.builder.sh
gc-runtime.nix
gc-runtime.sh
gc.sh Test nix-store -q --roots 2014-02-26 18:00:46 +01:00
hash-check.nix
hash.sh
import-derivation.nix
import-derivation.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
init.sh Fix Debian tests 2014-05-02 19:02:10 +02:00
install-package.sh nix-push: Support generating a manifest again 2012-07-26 18:28:12 -04:00
lang.sh Add constant ‘nixPath’ 2014-05-26 14:55:47 +02:00
local.mk Handle case collisions on case-insensitive systems 2014-07-16 16:02:05 +02:00
logging.sh Test nix-store -l 2014-02-26 17:58:53 +01:00
misc.sh nix-instantiate: Rename --eval-only to --eval, --parse-only to --parse 2014-02-19 16:34:24 +01:00
multiple-outputs.nix Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
multiple-outputs.sh Fix the multiple-outputs test 2012-11-26 17:46:45 +01:00
negative-caching.nix
negative-caching.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
nix-build.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
nix-channel.sh nix-push: Support generating a manifest again 2012-07-26 18:28:12 -04:00
nix-copy-closure.nix Add a test for the SSH substituter 2014-07-10 01:53:56 +02:00
nix-profile.sh Fix the nix-profile test 2014-02-01 15:37:50 +01:00
nix-pull.sh Fix test failure on Darwin 2012-09-12 11:29:10 -04:00
nix-push.sh nix-push: Support generating a manifest again 2012-07-26 18:28:12 -04:00
optimise-store.sh Test nix-store --optimise 2014-02-26 17:53:51 +01:00
parallel.builder.sh Drop dependency on ‘expr’ 2014-02-06 13:51:57 +01:00
parallel.nix
parallel.sh Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00
referrers.sh Clean up a test warning 2014-02-06 13:54:44 +01:00
remote-builds.nix build-remote.pl: Fix building multiple output derivations 2014-07-14 12:19:27 +02:00
remote-store.sh Doh 2014-02-26 22:41:29 +01:00
repair.sh Test nix-store --verify-path and --repair-path 2014-02-17 23:24:12 +01:00
secure-drv-outputs.nix
secure-drv-outputs.sh Don't put results symlinks in the tests directory 2012-09-11 19:14:15 -04:00
simple.builder.sh
simple.nix
simple.sh
substituter.sh Don't keep "disabled" substituters running 2013-06-20 11:55:15 +02:00
substituter2.sh Don't keep "disabled" substituters running 2013-06-20 11:55:15 +02:00
substitutes.sh
substitutes2.sh
timeout.builder.sh Adda test for build-max-log-size 2013-09-02 12:44:30 +02:00
timeout.nix Show that --timeout doesn't work if the build produces log output 2013-04-23 17:16:29 +02:00
timeout.sh Adda test for build-max-log-size 2013-09-02 12:44:30 +02:00
user-envs.builder.sh Test priorities 2012-12-04 14:47:50 +01:00
user-envs.nix Test priorities 2012-12-04 14:47:50 +01:00
user-envs.sh Test nix-env --switch-generation 2014-02-26 18:45:26 +01:00