1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/tests/functional
Eelco Dolstra 6f6a772da6 Handle zip files containing symlinks
In streaming mode, libarchive doesn't handle symlinks in zip files
correctly. So write the entire file to disk so libarchive can access
it in random-access mode.

Fixes #10649. This was broken in cabee98152.

(cherry picked from commit 9951e14ae0)
2024-05-15 20:07:38 +00:00
..
ca Fix building CA derivations with and eval store 2023-12-11 12:17:36 -05:00
common tests/functional: add assertStderr function 2024-03-07 21:07:03 +01:00
config
dyn-drv Print value on type error 2024-01-22 08:56:02 -08:00
flakes Handle zip files containing symlinks 2024-05-15 20:07:38 +00:00
git-hashing Merge pull request #10111 from obsidiansystems/git-objects 2024-03-01 15:00:43 +01:00
lang diagnose "unexpected EOF" at EOF 2024-03-06 23:11:12 +01:00
nested-sandboxing
plugins
test-libstoreconsumer Only link with -pthread on Unix 2024-01-10 20:38:39 -05:00
add.sh nix hash path, and preperatory refactors 2024-02-21 12:11:25 -05:00
bash-profile.sh
big-derivation-attr.nix
binary-cache-build-remote.sh
binary-cache.sh path-info: print correct path when using nix path-info --store file://... --all --json 2024-04-10 17:37:39 +00:00
brotli.sh
build-delete.sh
build-dry.sh
build-hook-ca-fixed.nix
build-hook-ca-floating.nix
build-hook.nix
build-remote-content-addressed-fixed.sh
build-remote-content-addressed-floating.sh
build-remote-input-addressed.sh
build-remote-trustless-after.sh
build-remote-trustless-should-fail-0.sh tests: avoid a chroot store without sandbox support 2023-12-03 17:18:58 -08:00
build-remote-trustless-should-pass-0.sh
build-remote-trustless-should-pass-1.sh Arbitrarily bring back some nix-daemon calls 2024-01-13 11:27:04 -08:00
build-remote-trustless-should-pass-2.sh
build-remote-trustless-should-pass-3.sh
build-remote-trustless.sh
build-remote-with-mounted-ssh-ng.sh mounted-ssh-ng store: integration tests 2023-11-21 13:35:12 -05:00
build-remote.sh
build.sh
ca-shell.nix
case-hack.sh
case.nar
check-refs.nix
check-refs.sh
check-reqs.nix
check-reqs.sh
check.nix
check.sh
common.sh
completions.sh fix: segfault in positional arg completion 2023-10-31 15:33:57 +01:00
compression-levels.sh
compute-levels.sh
config.nix.in
config.sh Rename nix show-config to nix config show 2023-11-28 14:28:19 +01:00
db-migration.sh
debugger.sh fix debugger crashing while printing envs 2024-02-04 17:12:04 +01:00
dependencies.builder0.sh
dependencies.nix
dependencies.sh
derivation-json.sh
dummy
dump-db.sh
eval-store.sh Build IFD in the build store when using eval-store. 2023-12-23 21:33:56 -05:00
eval.nix
eval.sh Add --arg-from-stdin to read an argument from stdin 2024-03-01 14:39:42 +01:00
experimental-features.sh Don't send settings that depend on disabled experimental features to the daemon 2024-02-20 15:28:42 +01:00
export-graph.nix
export-graph.sh
export.sh
failing.nix
fetchClosure.sh
fetchGit.sh Input: Replace 'locked' bool by isLocked() method 2024-02-20 16:59:15 +01:00
fetchGitRefs.sh
fetchGitSubmodules.sh Fix fetchGit nested submodules 2024-05-09 09:09:37 +00:00
fetchGitVerification.sh Merge remote-tracking branch 'origin/master' into libgit2 2023-11-09 16:48:41 +01:00
fetchMercurial.sh
fetchPath.sh
fetchTree-file.sh PosixSourceAccessor: Support roots that are not directories 2024-02-20 12:51:15 +01:00
fetchurl.sh <nix/fetchurl.nix>: Restore support for "impure = true" 2024-02-13 14:14:20 +01:00
filter-source.nix
filter-source.sh
fixed.builder1.sh
fixed.builder2.sh
fixed.nix Improve error message for fixed-outputs with references. 2024-01-07 07:32:31 -05:00
fixed.sh Only test bug fix with new enough deamon 2024-01-08 10:17:28 -05:00
fmt.sh
fmt.simple.sh
function-trace.sh
gc-auto.sh
gc-concurrent.builder.sh
gc-concurrent.nix
gc-concurrent.sh
gc-concurrent2.builder.sh
gc-non-blocking.sh gc-non-blocking.sh: Add explanation 2024-01-12 12:38:55 +01:00
gc-runtime.nix
gc-runtime.sh
gc.sh
hash-check.nix
hash-convert.sh Split hash.sh test in two 2024-02-13 09:44:14 -05:00
hash-path.sh nix hash path, and preperatory refactors 2024-02-21 12:11:25 -05:00
help.sh less scary jq 2024-03-04 19:25:28 +01:00
hermetic.nix
ifd.nix remote-store test: Break out IFD expression into a separate file 2023-12-23 17:15:09 -05:00
import-derivation.nix
import-derivation.sh
impure-derivations.nix
impure-derivations.sh <nix/fetchurl.nix>: Restore support for "impure = true" 2024-02-13 14:14:20 +01:00
impure-env.nix
impure-env.sh Bump the required daemon version for the impure-env test 2024-02-28 07:08:21 +01:00
impure-eval.sh Functional Test for builtins.storeDir and builtins.currentSystem 2023-12-14 19:47:10 -05:00
init.sh config: add included files into parsedContents before applying 2023-10-25 11:39:18 +02:00
install-darwin.sh
lang-test-infra.sh
lang.sh Fix boost::bad_format_string exception in builtins.addErrorContext (#9291) 2023-11-06 19:13:40 +00:00
legacy-ssh-store.sh
linux-sandbox-cert-test.nix
linux-sandbox.sh Add a test for depending on a symlink store path 2024-04-11 12:17:36 +00:00
local-store.sh
local.mk Handle zip files containing symlinks 2024-05-15 20:07:38 +00:00
logging.sh Fix logging.sh test on macOS 2023-12-18 14:04:25 -08:00
misc.sh
multiple-outputs.nix
multiple-outputs.sh
nar-access.nix
nar-access.sh Fix nar-access test on macOS 2023-11-03 11:03:58 +01:00
nested-sandboxing.sh
nix-build-examples.nix
nix-build.sh
nix-channel.sh Resolve symlinks in a few more places 2024-01-30 15:35:31 +01:00
nix-collect-garbage-d.sh
nix-copy-ssh-common.sh Test nix copy --substitute-on-destination 2023-12-13 15:22:19 -05:00
nix-copy-ssh-ng.sh Test nix copy --substitute-on-destination 2023-12-13 15:22:19 -05:00
nix-copy-ssh.sh Test nix copy --substitute-on-destination 2023-12-13 15:22:19 -05:00
nix-daemon-untrusting.sh Arbitrarily bring back some nix-daemon calls 2024-01-13 11:27:04 -08:00
nix-profile.sh Merge pull request #10166 from bobvanderlinden/profile-regex-all 2024-03-08 15:59:24 +01:00
nix-shell.sh print-dev-env: Avoid using unbound shellHook variable 2024-02-04 13:57:13 +08:00
nix_path.sh
optimise-store.sh
output-normalization.sh
parallel.builder.sh
parallel.nix
parallel.sh
pass-as-file.sh
path-from-hash-part.sh
path-info.sh Make nix path-info --json return an object not array 2023-11-06 11:06:31 -05:00
path.nix
placeholders.sh
plugins.sh
post-hook.sh
pure-eval.nix
pure-eval.sh
push-to-store-old.sh
push-to-store.sh
read-only-store.sh
readfile-context.nix
readfile-context.sh
recursive.nix
recursive.sh
referrers.sh
remote-store.sh remote-store test: Break out IFD expression into a separate file 2023-12-23 17:15:09 -05:00
repair.sh
repl.sh Pretty-print values in the REPL 2024-02-05 13:23:38 -08:00
restricted.nix
restricted.sh Use expectStderr 2023-12-06 14:05:32 +01:00
search.nix
search.sh nix search: Disallow empty regex 2023-12-21 22:13:43 +01:00
secure-drv-outputs.nix
secure-drv-outputs.sh
selfref-gc.sh
shell-hello.nix nix shell: Test that store paths cannot link outside of the store 2024-04-17 13:25:06 +00:00
shell.nix
shell.sh nix shell: Test that store paths cannot link outside of the store 2024-04-17 13:25:06 +00:00
shell.shebang.nix
shell.shebang.rb
shell.shebang.sh
signing.sh
simple-failing.nix
simple.builder.sh
simple.nix
simple.sh
ssh-relay.sh
store-info.sh Use nix daemon in the test suite 2023-12-18 11:29:55 -08:00
structured-attrs-shell.nix
structured-attrs.nix
structured-attrs.sh
substitute-with-invalid-ca.sh
suggestions.sh
supplementary-groups.sh
symlink-derivation.nix Add a test for depending on a symlink store path 2024-04-11 12:17:36 +00:00
tarball.sh Remove bad.tar.xz check, since libarchive doesn't care 2024-02-20 12:51:15 +01:00
test-infra.sh
test-libstoreconsumer.sh
timeout.nix
timeout.sh
toString-path.sh
undefined-variable.nix
user-envs-migration.sh
user-envs.builder.sh
user-envs.nix
user-envs.sh Handle the case where a parent of ~/.nix-defexpr is a symlink 2024-04-03 15:20:54 +00:00
why-depends.sh
zstd.sh