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

Remaining functional/ca tests for shellcheck

This commit is contained in:
Farid Zakaria 2025-09-29 10:13:58 -07:00
parent 5846d9d4dc
commit 4232cb045a
13 changed files with 13 additions and 18 deletions

View file

@ -168,21 +168,6 @@
''^tests/functional/user-envs\.builder\.sh$'' ''^tests/functional/user-envs\.builder\.sh$''
''^tests/functional/user-envs\.sh$'' ''^tests/functional/user-envs\.sh$''
''^tests/functional/why-depends\.sh$'' ''^tests/functional/why-depends\.sh$''
# Content-addressed test files that use recursive-*looking* sourcing
# (cd .. && source <self>), causing shellcheck to loop
# They're small wrapper scripts with not a lot going on
''^tests/functional/ca/eval-store\.sh$''
''^tests/functional/ca/gc\.sh$''
''^tests/functional/ca/import-from-derivation\.sh$''
''^tests/functional/ca/multiple-outputs\.sh$''
''^tests/functional/ca/new-build-cmd\.sh$''
''^tests/functional/ca/nix-shell\.sh$''
''^tests/functional/ca/post-hook\.sh$''
''^tests/functional/ca/recursive\.sh$''
''^tests/functional/ca/repl\.sh$''
''^tests/functional/ca/selfref-gc\.sh$''
''^tests/functional/ca/why-depends\.sh$''
]; ];
}; };
}; };

View file

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

View file

@ -7,4 +7,5 @@ source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source eval-store.sh source eval-store.sh

View file

@ -7,4 +7,5 @@ source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source gc.sh source gc.sh

View file

@ -3,6 +3,6 @@
source common.sh source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
# shellcheck source=/dev/null
cd .. && source import-from-derivation.sh cd .. && source import-from-derivation.sh

View file

@ -4,4 +4,5 @@ source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source ./multiple-outputs.sh source ./multiple-outputs.sh

View file

@ -4,4 +4,5 @@ source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source ./build.sh source ./build.sh

View file

@ -2,6 +2,8 @@
source common.sh source common.sh
# shellcheck disable=SC2034
NIX_TESTS_CA_BY_DEFAULT=true NIX_TESTS_CA_BY_DEFAULT=true
cd .. cd ..
# shellcheck source=/dev/null
source ./nix-shell.sh source ./nix-shell.sh

View file

@ -6,6 +6,7 @@ requireDaemonNewerThan "2.4pre20210626"
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source ./post-hook.sh source ./post-hook.sh

View file

@ -6,4 +6,5 @@ requireDaemonNewerThan "2.4pre20210623"
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source ./recursive.sh source ./recursive.sh

View file

@ -3,5 +3,5 @@
source common.sh source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
# shellcheck source=/dev/null
cd .. && source repl.sh cd .. && source repl.sh

View file

@ -8,4 +8,5 @@ enableFeatures "ca-derivations nix-command flakes"
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
cd .. cd ..
# shellcheck source=/dev/null
source ./selfref-gc.sh source ./selfref-gc.sh

View file

@ -3,5 +3,5 @@
source common.sh source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1 export NIX_TESTS_CA_BY_DEFAULT=1
# shellcheck source=/dev/null
cd .. && source why-depends.sh cd .. && source why-depends.sh