Skip to content

Commit

Permalink
Add hashbang to top-level test script
Browse files Browse the repository at this point in the history
This fixes the "Exec format error" when running the podman tests.
  • Loading branch information
FenTiger committed Aug 30, 2024
1 parent fa6bb0a commit d064762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ let
"\n"
(pkgs.lib.mapAttrsToList (n: v: "echo Running test '${n}'\n${v}/bin/test-script") tests);
in pkgs.writeScriptBin "all-test-scripts" ''
#!${pkgs.runtimeShell}
set -e
${scripts}
'';
Expand Down

0 comments on commit d064762

Please sign in to comment.