shellcheck: fix lint of scripts in tests

This commit is contained in:
Otto Sabart
2022-08-28 18:25:37 +02:00
committed by Erik Arvstedt
parent a59c3b4b8a
commit f184bb34e6
14 changed files with 82 additions and 59 deletions
+2 -2
View File
@@ -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