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:
parent
8f14301533
commit
8f0d9412ba
2 changed files with 4 additions and 3 deletions
|
|
@ -124,7 +124,6 @@
|
||||||
''^tests/functional/linux-sandbox\.sh$''
|
''^tests/functional/linux-sandbox\.sh$''
|
||||||
''^tests/functional/local-overlay-store/add-lower-inner\.sh$''
|
''^tests/functional/local-overlay-store/add-lower-inner\.sh$''
|
||||||
''^tests/functional/local-overlay-store/add-lower\.sh$''
|
''^tests/functional/local-overlay-store/add-lower\.sh$''
|
||||||
''^tests/functional/local-overlay-store/bad-uris\.sh$''
|
|
||||||
''^tests/functional/logging\.sh$''
|
''^tests/functional/logging\.sh$''
|
||||||
''^tests/functional/misc\.sh$''
|
''^tests/functional/misc\.sh$''
|
||||||
''^tests/functional/multiple-outputs\.sh$''
|
''^tests/functional/multiple-outputs\.sh$''
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
source common.sh
|
source common.sh
|
||||||
source ../common/init.sh
|
source ../common/init.sh
|
||||||
|
|
||||||
|
|
@ -5,7 +6,7 @@ requireEnvironment
|
||||||
setupConfig
|
setupConfig
|
||||||
setupStoreDirs
|
setupStoreDirs
|
||||||
|
|
||||||
mkdir -p $TEST_ROOT/bad_test
|
mkdir -p "$TEST_ROOT"/bad_test
|
||||||
badTestRoot=$TEST_ROOT/bad_test
|
badTestRoot=$TEST_ROOT/bad_test
|
||||||
storeBadRoot="local-overlay://?root=$badTestRoot&lower-store=$storeA&upper-layer=$storeBTop"
|
storeBadRoot="local-overlay://?root=$badTestRoot&lower-store=$storeA&upper-layer=$storeBTop"
|
||||||
storeBadLower="local-overlay://?root=$storeBRoot&lower-store=$badTestRoot&upper-layer=$storeBTop"
|
storeBadLower="local-overlay://?root=$storeBRoot&lower-store=$badTestRoot&upper-layer=$storeBTop"
|
||||||
|
|
@ -18,7 +19,8 @@ declare -a storesBad=(
|
||||||
TODO_NixOS
|
TODO_NixOS
|
||||||
|
|
||||||
for i in "${storesBad[@]}"; do
|
for i in "${storesBad[@]}"; do
|
||||||
echo $i
|
echo "$i"
|
||||||
|
# shellcheck disable=SC2119
|
||||||
execUnshare <<EOF
|
execUnshare <<EOF
|
||||||
source common.sh
|
source common.sh
|
||||||
setupStoreDirs
|
setupStoreDirs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue