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/bad-uris.sh

This commit is contained in:
Farid Zakaria 2025-09-28 20:39:40 -07:00
parent 8f14301533
commit 8f0d9412ba
2 changed files with 4 additions and 3 deletions

View file

@ -124,7 +124,6 @@
''^tests/functional/linux-sandbox\.sh$''
''^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/logging\.sh$''
''^tests/functional/misc\.sh$''
''^tests/functional/multiple-outputs\.sh$''

View file

@ -1,3 +1,4 @@
# shellcheck shell=bash
source common.sh
source ../common/init.sh
@ -5,7 +6,7 @@ requireEnvironment
setupConfig
setupStoreDirs
mkdir -p $TEST_ROOT/bad_test
mkdir -p "$TEST_ROOT"/bad_test
badTestRoot=$TEST_ROOT/bad_test
storeBadRoot="local-overlay://?root=$badTestRoot&lower-store=$storeA&upper-layer=$storeBTop"
storeBadLower="local-overlay://?root=$storeBRoot&lower-store=$badTestRoot&upper-layer=$storeBTop"
@ -18,7 +19,8 @@ declare -a storesBad=(
TODO_NixOS
for i in "${storesBad[@]}"; do
echo $i
echo "$i"
# shellcheck disable=SC2119
execUnshare <<EOF
source common.sh
setupStoreDirs