mirror of
https://github.com/NixOS/nix.git
synced 2025-12-06 17:11:00 +01:00
shellcheck fix: tests/functional/local-overlay-store/optimise-inner.sh
This commit is contained in:
parent
dbb53de9d3
commit
283a9c4c5a
3 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,6 @@
|
|||
''^tests/functional/local-overlay-store/delete-refs\.sh$''
|
||||
''^tests/functional/local-overlay-store/gc-inner\.sh$''
|
||||
''^tests/functional/local-overlay-store/gc\.sh$''
|
||||
''^tests/functional/local-overlay-store/optimise-inner\.sh$''
|
||||
''^tests/functional/logging\.sh$''
|
||||
''^tests/functional/misc\.sh$''
|
||||
''^tests/functional/multiple-outputs\.sh$''
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ overlayPath="$storeBRoot/nix/store/$dupFilename"
|
|||
lowerInode=$(stat -c %i "$lowerPath")
|
||||
upperInode=$(stat -c %i "$upperPath")
|
||||
overlayInode=$(stat -c %i "$overlayPath")
|
||||
[[ $upperInode == $overlayInode ]]
|
||||
[[ $upperInode != $lowerInode ]]
|
||||
[[ $upperInode == "$overlayInode" ]]
|
||||
[[ $upperInode != "$lowerInode" ]]
|
||||
|
||||
# Run optimise to deduplicate store paths
|
||||
nix-store --store "$storeB" --optimise
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
source common.sh
|
||||
source ../common/init.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue