testers.lycheeLinkCheck: Clarify test data

(cherry picked from commit 5acbed79ee)
This commit is contained in:
Robert Hensing
2024-05-27 00:59:02 +02:00
committed by github-actions[bot]
parent 912abfa907
commit 6a668b71ee

View File

@@ -3,7 +3,7 @@ let
sitePkg = runCommand "site" { } ''
dist=$out/dist
mkdir -p $dist
echo "<html><body><a href=\"https://example.com/foo.html#butwhere\">foo</a></body></html>" > $dist/index.html
echo "<html><body><a href=\"https://example.com/foo.html#foos-missing-anchor\">foo</a></body></html>" > $dist/index.html
echo "<html><body><a href=\".\">index</a></body></html>" > $dist/foo.html
'';
@@ -16,6 +16,6 @@ let
in
runCommand "link-check-fail" { inherit failure; } ''
grep -F butwhere $failure/testBuildFailure.log >/dev/null
grep -F foos-missing-anchor $failure/testBuildFailure.log >/dev/null
touch $out
''