Skip to content

Commit 8f0d941

Browse files
committed
shellcheck fix: tests/functional/local-overlay-store/bad-uris.sh
1 parent 8f14301 commit 8f0d941

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

maintainers/flake-module.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@
124124
''^tests/functional/linux-sandbox\.sh$''
125125
''^tests/functional/local-overlay-store/add-lower-inner\.sh$''
126126
''^tests/functional/local-overlay-store/add-lower\.sh$''
127-
''^tests/functional/local-overlay-store/bad-uris\.sh$''
128127
''^tests/functional/logging\.sh$''
129128
''^tests/functional/misc\.sh$''
130129
''^tests/functional/multiple-outputs\.sh$''

tests/functional/local-overlay-store/bad-uris.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
# shellcheck shell=bash
12
source common.sh
23
source ../common/init.sh
34

45
requireEnvironment
56
setupConfig
67
setupStoreDirs
78

8-
mkdir -p $TEST_ROOT/bad_test
9+
mkdir -p "$TEST_ROOT"/bad_test
910
badTestRoot=$TEST_ROOT/bad_test
1011
storeBadRoot="local-overlay://?root=$badTestRoot&lower-store=$storeA&upper-layer=$storeBTop"
1112
storeBadLower="local-overlay://?root=$storeBRoot&lower-store=$badTestRoot&upper-layer=$storeBTop"
@@ -18,7 +19,8 @@ declare -a storesBad=(
1819
TODO_NixOS
1920

2021
for i in "${storesBad[@]}"; do
21-
echo $i
22+
echo "$i"
23+
# shellcheck disable=SC2119
2224
execUnshare <<EOF
2325
source common.sh
2426
setupStoreDirs

0 commit comments

Comments
 (0)