== 1. vet, tests, no requires, no address reading
PASS  1 go vet
ok  	opensfridays	0.647s
PASS  1 go test
PASS  1 go.mod has no require lines
PASS  1 no RemoteAddr, X-Forwarded or log.Print in Go files
== 4. unspecified hosts are replaced
  -addr 0.0.0.0:8080 printed: http://10.0.0.182:8080  Opens Fridays 16:00  Europe/Berlin
PASS  4 -addr 0.0.0.0:8080 prints one line with a host that is not 0.0.0.0
  -addr :8080 printed: http://10.0.0.182:8080  Opens Fridays 16:00  Europe/Berlin
PASS  4 -addr :8080 prints one line with a host that is not 0.0.0.0
== opening: -opens "Tue 17:44" (Europe/Berlin), box 2026-10-13, next box 2026-10-20
== 2. before the opening
PASS  2 plate shown: Opens Tuesdays 17:44
PASS  2 no sheet after the first start
PASS  2 2026-10-13.json exists as [] before any post
PASS  2 POST /put answers 303
PASS  2 POST /put answers 303
PASS  2 POST /put answers 303
PASS  2 notes are not shown before the opening
PASS  2 the count has not moved without a snapshot
== 3. the file
  [  "apple pie friday",  "mango",  "zebra crossing is unclear"]
PASS  3 the file is a JSON array of strings in the order apple, mango, zebra
PASS  3 no timestamp inside the file
  drwx------ 2026-10-13 17:44:00.000000000 +0200 a
  -rw------- 2026-10-13 17:44:00.000000000 +0200 a/2026-10-13.json
PASS  3 file mtime is the opening instant
PASS  3 data directory mtime is the opening instant
== 2. restart: the startup snapshot
PASS  2 after the restart: 3 notes inside.
PASS  2 stamped with the restart minute (17:41 or 17:41)
PASS  2 no sheet after the restart
== 5b. post three, restart, post kettle
PASS  5b kettle posted after the restart
== 9. fifty parallel posts
PASS  9 all fifty answered 303
PASS  9 exactly 50 notes in a valid JSON array
== 8. input handling
PASS  8 empty note: 400
PASS  8 empty note: Nothing was written.
PASS  8 501 characters after flattening: 413
PASS  8 413 keeps the text escaped and unflattened in the textarea
PASS  8 413 leaves the box unchanged
PASS  8 a 9000 byte body: 413
PASS  8 9000 byte body: the same 413 page, textarea empty
PASS  8 9000 byte body leaves the box unchanged
PASS  8 a script note is accepted
PASS  8 the script note is stored as text
PASS  8 cross-site post: 403
PASS  8 cross-site post: Notes are put in from this page only.
PASS  8 cross-site post leaves the box unchanged
PASS  8 same-origin post: 303
PASS  8 the box holds 100
PASS  8 the 101st note: 409
PASS  8 409 keeps the text in the textarea
== 6. a full box of 200-character notes, for the A4 measure
PASS  6 measure box holds 100 notes of 200 characters
PASS  setup finished before the opening
== waiting for the opening at 17:44
== 5a. the opening
PASS  5a Opened header
PASS  5a 3 notes, then directly the count at opening: 3
PASS  5a order: apple, mango, zebra
PASS  5a treatment line
PASS  5a new box: 0 notes inside.
PASS  5a stamp is the opening time 17:44
PASS  5a the sheet comes before the box
PASS  5a data holds 2026-10-13.opened.json and 2026-10-20.json only
PASS  5a a fourth note: 303
PASS  5a the fourth note is not in the list
PASS  5a and not yet counted
PASS  5b 4 notes, then directly the count at opening: 3
PASS  5b new box 0 notes inside., stamped 17:44
PASS  8 the script note is shown as text
PASS  8 and never as a script element
== 6. print
PASS  6 the sheet prints on exactly 1 page
PASS  6 the sheet is A4
PASS  6 the sheet holds the three notes
PASS  6 the sheet carries the treatment
PASS  6 the sheet has no form
PASS  6 the door card prints on exactly 1 page
PASS  6 the door card is A6 (105 x 148 mm)
PASS  6 the door card holds the plate
PASS  6 the door card holds the startup URL http://10.0.0.182:8181
PASS  6 the door card has no count and no form
  MEASURE: notes n001 to n020 of 100 (200 characters each) are on page 1 of 5; 100 short notes print on 2 page(s)
== 10. retention
  first shown at 17:44:00, window 2m
PASS  10 a restart in the window still shows the sheet
PASS  5 after a restart the count at opening is unknown and left off
PASS  5a the fourth note is counted at the restart
PASS  10 the opened file was not re-stamped by the restart
PASS  10 the opened file is still there at +115 s
PASS  10 at +124 s no .opened.json remains
PASS  10 the next box's file is still there
PASS  10 GET / shows no list
== 4. one line per start, no addresses, no note text
  http://10.0.0.182:8181  Opens Tuesdays 17:44  Europe/Berlin
  http://10.0.0.182:8181  Opens Tuesdays 17:44  Europe/Berlin
  http://10.0.0.182:8181  Opens Tuesdays 17:44  Europe/Berlin
PASS  4 server A printed exactly one line for each of its 3 starts
PASS  4 every line is URL, plate, zone with a non-loopback IPv4
PASS  4 servers B, C, D printed one line per start
PASS  4 HEAD /: no-store, no Last-Modified, no ETag
PASS  4 HEAD /static/style.css: no-store, no Last-Modified, no ETag
PASS  4 HEAD /plate: no-store, no Last-Modified, no ETag
== e2e: 82 passed, 0 failed
exit 0
