nix-super/tests/overlay-local-store.sh

11 lines
388 B
Bash
Raw Normal View History

2023-03-17 05:00:14 +02:00
source common.sh
2023-05-08 21:47:39 +03:00
requireSandboxSupport
[[ $busybox =~ busybox ]] || skipTest "no busybox"
if [[ $(uname) != Linux ]]; then skipTest "Need Linux for overlayfs"; fi
2023-05-08 23:00:47 +03: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 21:47:39 +03:00
2023-03-17 05:00:14 +02:00
exec unshare --mount --map-root-user overlay-local-store/inner.sh