fix: do not try to download a URL from vfs-pack in test

This commit is contained in:
Simon Cruanes 2022-03-30 16:22:59 -04:00
parent d4c2482699
commit dbb384cd82
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 2 additions and 7 deletions

View file

@ -39,7 +39,8 @@
(action (run %{bin:tiny-httpd-vfs-pack} -o %{targets} (action (run %{bin:tiny-httpd-vfs-pack} -o %{targets}
--mirror=files/ --mirror=files/
--file=test_out.txt,%{out} --file=test_out.txt,%{out}
--url=example_dot_com,http://example.com))) ; --url=example_dot_com,http://example.com ; this breaks tests in opam sandbox 😢
)))
(rule (rule
(targets vfs.ml) (targets vfs.ml)

View file

@ -27,12 +27,6 @@ a.txt
(12b) (12b)
</li> </li>
<li> <li>
<a href="/vfs/example_dot_com">
example_dot_com
</a>
(1.12k)
</li>
<li>
<a href="/vfs/foo.html"> <a href="/vfs/foo.html">
foo.html foo.html
</a> </a>