9 lines
223 B
Bash
Executable File
9 lines
223 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source common.sh
|
|
|
|
# Test symlinks in zip files (#10649).
|
|
path=$(nix flake prefetch --json file://"$(pwd)"/tree.zip | jq -r .storePath)
|
|
[[ $(cat "$path"/foo) = foo ]]
|
|
[[ $(readlink "$path"/bar) = foo ]]
|