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:
parent
5846d9d4dc
commit
4232cb045a
13 changed files with 13 additions and 18 deletions
|
|
@ -168,21 +168,6 @@
|
|||
''^tests/functional/user-envs\.builder\.sh$''
|
||||
''^tests/functional/user-envs\.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$''
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
source common.sh
|
||||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ source common.sh
|
|||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source eval-store.sh
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ source common.sh
|
|||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source gc.sh
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
source common.sh
|
||||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
cd .. && source import-from-derivation.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@ source common.sh
|
|||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./multiple-outputs.sh
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@ source common.sh
|
|||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./build.sh
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
source common.sh
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
NIX_TESTS_CA_BY_DEFAULT=true
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./nix-shell.sh
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ requireDaemonNewerThan "2.4pre20210626"
|
|||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./post-hook.sh
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ requireDaemonNewerThan "2.4pre20210623"
|
|||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./recursive.sh
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
source common.sh
|
||||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
cd .. && source repl.sh
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ enableFeatures "ca-derivations nix-command flakes"
|
|||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
cd ..
|
||||
# shellcheck source=/dev/null
|
||||
source ./selfref-gc.sh
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
source common.sh
|
||||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
cd .. && source why-depends.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue