@ 261101.7

261030.4 · 6182a9aa802e833d238ab04b403b428f42fe37f9

A black-box suite runs the built binary, starting with the 404 coin

make blackbox runs tests/ with pytest and httpx against a server in a throwaway home, on --public and on the form wwwvm's unit uses. Cases are TOML files named after the decision they check.

The coin shows on both forms for a path a served repo lacks. The cache message appears only without --public, for a path that names no repo.

reading declarations

Changes to tests/cases/public-serves-only-online-repos-to-the-open-web.toml. All files

tests/cases/public-serves-only-online-repos-to-the-open-web.toml

new file mode 100644@@ -0,0 +1,13 @@+# A stranger learns nothing of the cache: no word of it, and no repo that+# another visitor read.+servers = ["public"]++[[request]]+path = "/forge.invalid"+status = 502+absent = ["cache", "acct/r"]++[[request]]+path = "/forge.invalid/acct/nope"+status = 502+absent = ["cache"]