1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

shellcheck fix: tests/functional/local-overlay-store/build-inner.sh

This commit is contained in:
Farid Zakaria 2025-09-28 20:38:46 -07:00
parent 6cae8da29d
commit 8f14301533
3 changed files with 4 additions and 5 deletions

View file

@ -125,8 +125,6 @@
''^tests/functional/local-overlay-store/add-lower-inner\.sh$''
''^tests/functional/local-overlay-store/add-lower\.sh$''
''^tests/functional/local-overlay-store/bad-uris\.sh$''
''^tests/functional/local-overlay-store/build-inner\.sh$''
''^tests/functional/local-overlay-store/build\.sh$''
''^tests/functional/logging\.sh$''
''^tests/functional/misc\.sh$''
''^tests/functional/multiple-outputs\.sh$''

View file

@ -18,13 +18,13 @@ mountOverlayfs
### Do a build in overlay store
path=$(nix-build ../hermetic.nix --arg busybox $busybox --arg seed 2 --store "$storeB" --no-out-link)
path=$(nix-build ../hermetic.nix --arg busybox "$busybox" --arg seed 2 --store "$storeB" --no-out-link)
# Checking for path in lower layer (should fail)
expect 1 stat $(toRealPath "$storeA/nix/store" "$path")
expect 1 stat "$(toRealPath "$storeA/nix/store" "$path")"
# Checking for path in upper layer
stat $(toRealPath "$storeBTop" "$path")
stat "$(toRealPath "$storeBTop" "$path")"
# Verifying path in overlay store
nix-store --verify-path --store "$storeB" "$path"

View file

@ -1,3 +1,4 @@
# shellcheck shell=bash
source common.sh
source ../common/init.sh