1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/tests/overlay-local-store.sh

11 lines
388 B
Bash
Raw Normal View History

2023-03-16 23:00:14 -04:00
source common.sh
2023-05-08 14:47:39 -04:00
requireSandboxSupport
[[ $busybox =~ busybox ]] || skipTest "no busybox"
if [[ $(uname) != Linux ]]; then skipTest "Need Linux for overlayfs"; fi
2023-05-08 16:00:47 -04:00
needLocalStore "The test uses --store always so we would just be bypassing the daemon"
echo "drop-supplementary-groups = false" >> "$NIX_CONF_DIR"/nix.conf
2023-05-08 14:47:39 -04:00
2023-03-16 23:00:14 -04:00
exec unshare --mount --map-root-user overlay-local-store/inner.sh