Commit 30af0cda authored by Silvan Mosberger's avatar Silvan Mosberger
Browse files

tests.nixpkgs-check-by-name: Test non-Nix invalid symlinks instead

Nix symlinks that are invalid don't pass the new CI check from
https://github.com/NixOS/nixpkgs/pull/279892, so let's instead use
non-Nix symlinks.
parent cf90aa9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
pkgs/by-name/A: Invalid directory name "A", must be at most 2 ASCII characters consisting of a-z, 0-9, "-" or "_".
pkgs/by-name/A/fo@: Invalid package directory name "fo@", must be ASCII characters consisting of a-z, A-Z, 0-9, "-" or "_".
pkgs/by-name/A/fo@: Path foo.nix is a symlink which cannot be resolved: No such file or directory (os error 2).
pkgs/by-name/A/fo@: Path foo is a symlink which cannot be resolved: No such file or directory (os error 2).
pkgs/by-name/A/fo@: Path package.nix is a symlink pointing to a path outside the directory of that package.
pkgs/by-name/aa: This is a file, but it should be a directory.
pkgs/by-name/ba/bar: This path is a file, but it should be a directory.
+1 −0
Original line number Diff line number Diff line
none
 No newline at end of file
+0 −1
Original line number Diff line number Diff line
../../../../foo.nix
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
pkgs/by-name/fo/foo: Path foo.nix is a symlink which cannot be resolved: No such file or directory (os error 2).
pkgs/by-name/fo/foo: Path foo is a symlink which cannot be resolved: No such file or directory (os error 2).
+1 −0
Original line number Diff line number Diff line
none
 No newline at end of file
Loading