tests: parse failures per command, non-ASCII paths, concurrent pushes !213

merged merged by cmc on 2026-09-04 01:34 UTC · krz/gitbay:unit-coverage into main

Discussion

cmc

Control handlers were exercised end to end only.

  • TestCommandParseFailures runs sixteen argv that every command must refuse before touching the store (unknown flag, missing value, too many arguments, a value out of range) and expects exit 2 with the usage in the message.
  • TestNonASCIIPaths pushes dokumente/übersicht — ünïcode.txt and reads it through repo tree, cat, grep, blame and the web blob page. It found a defect: ls-tree returned the name as octal escapes, git's core.quotepath default. gitutil now sets core.quotepath=off through GIT_CONFIG_PARAMETERS for every git it runs, hooks included.
  • TestConcurrentPushes lands six branches pushed at the same time and checks all six are there.

Stacked on !211; no code dependency.

Closes #129

retargeted from named-outputs to main: !211 merged

2026-09-04 01:34 UTC