Artifact 7b5985f522a0d23eb3de9841452eeaa664ac8f5131ac156336ad00da21bcd0f6:
- File
test/corpus/lintline/grown-7cccf6ab8894
-
2026-11-14 00:48:47
— part of check-in
[0c65a50c7f]
on branch trunk
— Phase 7c-1: a wardrobe can be cloned onto a second machine, and one call tends them all
suit clone NAME URL makes a wardrobe on this machine from a remote. It clones into a temporary file, renames it into place, opens the store at the tip of trunk and records the remote last. A failure at any step removes what it made: no partial repository file, no store folder, no remotes line. A name already in use is refused with exit 20 and nothing is overwritten. A login saved beforehand is used, so a private wardrobe can be cloned.
suit tend with no name tends every wardrobe in name order. One wardrobe's failure does not stop the others; the exit code is the highest any of them returned, with one line for each that did not end clean.
After three failed syncs in a row the attention file names the wardrobe and the host. A sync that reaches the remote clears the count and the line.
A limit: libfossil's clone builds its own context, so fault injection cannot reach the system calls made inside the clone. The tests cover every step suit takes around it, and a bad remote covers a failure inside it.
One existing case changed: tend-usage expected suit tend with no name to be an error, which is now the behaviour above. It tests suit tend with two names instead.
1204 unit checks, 227 shell cases, 669 store cases, 612 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask. 100% coverage in all 22 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 10) [annotate] [blame] [check-ins using]
-
2026-11-14 11:41:21
— part of check-in
[79385a1b35]
on branch trunk
— suit install retries a load that failed, and says so until it works
When the loader fails, suit install now writes one item to the attention file: timers load: written but not loaded, with the loader's name and exit status, or could not run when it never started. suit status and suit status --line show it. Running suit install again, with the files unchanged and that item present, loads again in place of saying already installed. A success removes the item; suit uninstall removes it too. If writing the item fails as well, install still exits 3 and reports both.
make quick now rebuilds the dev binaries before it runs, so it cannot test a stale build.
49 new shell cases. 1269 unit checks, 477 shell cases, 669 store cases, 612 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (31 minutes). 100% coverage in all 23 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 10) [annotate] [blame] [check-ins using]
-
2026-11-14 00:48:47
— part of check-in
[0c65a50c7f]
on branch trunk
— Phase 7c-1: a wardrobe can be cloned onto a second machine, and one call tends them all