shellcheck: fix lint of scripts in tests
This commit is contained in:
parent
a59c3b4b8a
commit
f184bb34e6
14 changed files with 82 additions and 59 deletions
|
|
@ -16,9 +16,9 @@ let
|
|||
fixedTest = test.overrideAttrs (_: {
|
||||
# See `runTests` in nixpkgs/nixos/lib/testing-python.nix for the original definition of `buildCommand`
|
||||
buildCommand = ''
|
||||
mkdir $out
|
||||
mkdir "$out"
|
||||
LOGFILE=$out/output.xml tests='exec(os.environ["testScript"])' ${test.driver}/bin/nixos-test-driver
|
||||
ln -s ${test.driver} $out/driver
|
||||
ln -s ${test.driver} "$out/driver"
|
||||
'';
|
||||
});
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue