227 lines
8.4 KiB
Plaintext
227 lines
8.4 KiB
Plaintext
TAP version 13
|
|
# Subtest: row253 factory socket uses actual config and target-uid query without widening hardening
|
|
ok 1 - row253 factory socket uses actual config and target-uid query without widening hardening
|
|
---
|
|
duration_ms: 132.435365
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 installer refuses unsafe location and query facts before unit writes
|
|
ok 2 - row253 installer refuses unsafe location and query facts before unit writes
|
|
---
|
|
duration_ms: 797.197859
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 query timeout kills its process group and leaves no running child
|
|
ok 3 - row253 query timeout kills its process group and leaves no running child
|
|
---
|
|
duration_ms: 5019.014579
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 protected homes refuse before any filesystem access
|
|
ok 4 - row253 protected homes refuse before any filesystem access
|
|
---
|
|
duration_ms: 9.061384
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 query reaps its group even when a child closes stdout before the query returns
|
|
ok 5 - row253 query reaps its group even when a child closes stdout before the query returns
|
|
---
|
|
duration_ms: 115.345379
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 config parser is strict and output capture is bounded
|
|
ok 6 - row253 config parser is strict and output capture is bounded
|
|
---
|
|
duration_ms: 23.15376
|
|
type: 'test'
|
|
...
|
|
# Subtest: a clean library render writes both units 0644 with the fixed lines, and enables both then starts the bus then the Console
|
|
ok 7 - a clean library render writes both units 0644 with the fixed lines, and enables both then starts the bus then the Console
|
|
---
|
|
duration_ms: 141.214877
|
|
type: 'test'
|
|
...
|
|
# Subtest: PATH starts with the --node directory, for a node outside the default list and for /usr/bin/node
|
|
ok 8 - PATH starts with the --node directory, for a node outside the default list and for /usr/bin/node
|
|
---
|
|
duration_ms: 146.051567
|
|
type: 'test'
|
|
...
|
|
# Subtest: a failed bus start refuses with the Console not started
|
|
ok 9 - a failed bus start refuses with the Console not started
|
|
---
|
|
duration_ms: 124.104581
|
|
type: 'test'
|
|
...
|
|
# Subtest: the script never links a unit file
|
|
ok 10 - the script never links a unit file
|
|
---
|
|
duration_ms: 0.246216
|
|
type: 'test'
|
|
...
|
|
# Subtest: factory renders --pm once and one MOSAIC_CLAUDE_BIN line, and without them both tokens render empty
|
|
ok 11 - factory renders --pm once and one MOSAIC_CLAUDE_BIN line, and without them both tokens render empty
|
|
---
|
|
duration_ms: 327.833116
|
|
type: 'test'
|
|
...
|
|
# Subtest: a re-install over running units says they are still on the old copy and must restart together, never that it started them
|
|
ok 12 - a re-install over running units says they are still on the old copy and must restart together, never that it started them
|
|
---
|
|
duration_ms: 505.964621
|
|
type: 'test'
|
|
...
|
|
# Subtest: a re-install to another copy re-renders both units, and an edited installed unit refuses
|
|
ok 13 - a re-install to another copy re-renders both units, and an edited installed unit refuses
|
|
---
|
|
duration_ms: 1287.241694
|
|
type: 'test'
|
|
...
|
|
# Subtest: a template with a namespace, user or system call restriction refuses
|
|
ok 14 - a template with a namespace, user or system call restriction refuses
|
|
---
|
|
duration_ms: 321.335614
|
|
type: 'test'
|
|
...
|
|
# Subtest: the bus template's EnvironmentFile line must be there and point at the session env, and the Console template must have none
|
|
ok 15 - the bus template's EnvironmentFile line must be there and point at the session env, and the Console template must have none
|
|
---
|
|
duration_ms: 193.850726
|
|
type: 'test'
|
|
...
|
|
# Subtest: a template holding an unknown token, PermissionsStartOnly or a privileged Exec prefix refuses
|
|
ok 16 - a template holding an unknown token, PermissionsStartOnly or a privileged Exec prefix refuses
|
|
---
|
|
duration_ms: 140.147839
|
|
type: 'test'
|
|
...
|
|
# Subtest: a symlink at either unit path refuses
|
|
ok 17 - a symlink at either unit path refuses
|
|
---
|
|
duration_ms: 195.685231
|
|
type: 'test'
|
|
...
|
|
# Subtest: a --node that is relative, not root-owned or under <home> refuses
|
|
ok 18 - a --node that is relative, not root-owned or under <home> refuses
|
|
---
|
|
duration_ms: 18.516446
|
|
type: 'test'
|
|
...
|
|
# Subtest: a re-install with a different --node or different serve flags refuses
|
|
ok 19 - a re-install with a different --node or different serve flags refuses
|
|
---
|
|
duration_ms: 498.049246
|
|
type: 'test'
|
|
...
|
|
# Subtest: an installed pair whose units name different copies refuses
|
|
ok 20 - an installed pair whose units name different copies refuses
|
|
---
|
|
duration_ms: 263.546862
|
|
type: 'test'
|
|
...
|
|
# Subtest: a copy id that is short, uppercase, holds / or .., or names no directory refuses
|
|
ok 21 - a copy id that is short, uppercase, holds / or .., or names no directory refuses
|
|
---
|
|
duration_ms: 28.858172
|
|
type: 'test'
|
|
...
|
|
# Subtest: library refuses a privileged-floor miss, a bad proof pair and every flag outside its set
|
|
ok 22 - library refuses a privileged-floor miss, a bad proof pair and every flag outside its set
|
|
---
|
|
duration_ms: 337.498348
|
|
type: 'test'
|
|
...
|
|
# Subtest: library refuses a proof file not owned by <user>'s uid
|
|
ok 23 - library refuses a proof file not owned by <user>'s uid
|
|
---
|
|
duration_ms: 18.402855
|
|
type: 'test'
|
|
...
|
|
# Subtest: factory refuses duplicate socket, a missing --port or --business, and each proxy flag
|
|
ok 24 - factory refuses duplicate socket, a missing --port or --business, and each proxy flag
|
|
---
|
|
duration_ms: 258.559063
|
|
type: 'test'
|
|
...
|
|
# Subtest: row253 factory refuses retired TCP and a value after the socket marker
|
|
ok 25 - row253 factory refuses retired TCP and a value after the socket marker
|
|
---
|
|
duration_ms: 37.348428
|
|
type: 'test'
|
|
...
|
|
# Subtest: factory refuses a --claude that is relative, not root-owned or under <home>, and a re-install with another --pm or --claude
|
|
ok 26 - factory refuses a --claude that is relative, not root-owned or under <home>, and a re-install with another --pm or --claude
|
|
---
|
|
duration_ms: 711.047609
|
|
type: 'test'
|
|
...
|
|
# Subtest: the precheck passes on a good host and prints free memory, without the key
|
|
ok 27 - the precheck passes on a good host and prints free memory, without the key
|
|
---
|
|
duration_ms: 101.995503
|
|
type: 'test'
|
|
...
|
|
# Subtest: the precheck refuses each failed host check
|
|
ok 28 - the precheck refuses each failed host check
|
|
---
|
|
duration_ms: 923.980506
|
|
type: 'test'
|
|
...
|
|
# Subtest: the precheck refuses a user missing from passwd, a business file that does not load, and a symlinked run root
|
|
ok 29 - the precheck refuses a user missing from passwd, a business file that does not load, and a symlinked run root
|
|
---
|
|
duration_ms: 474.734266
|
|
type: 'test'
|
|
...
|
|
# Subtest: a bwrap that fails refuses and prints the sysctl and where bwrap is
|
|
ok 30 - a bwrap that fails refuses and prints the sysctl and where bwrap is
|
|
---
|
|
duration_ms: 113.948305
|
|
type: 'test'
|
|
...
|
|
# Subtest: an unprivileged port floor at or below the Console's port refuses, and so does a missing Console unit
|
|
ok 31 - an unprivileged port floor at or below the Console's port refuses, and so does a missing Console unit
|
|
---
|
|
duration_ms: 573.723749
|
|
type: 'test'
|
|
...
|
|
# Subtest: bus.tester: library refuses it on, factory needs it on, and factory refuses a library business
|
|
ok 32 - bus.tester: library refuses it on, factory needs it on, and factory refuses a library business
|
|
---
|
|
duration_ms: 430.704473
|
|
type: 'test'
|
|
...
|
|
# Subtest: the claude check runs only for a claude-code instance, and refuses a claude that appends or answers wrong
|
|
ok 33 - the claude check runs only for a claude-code instance, and refuses a claude that appends or answers wrong
|
|
---
|
|
duration_ms: 925.906653
|
|
type: 'test'
|
|
...
|
|
# Subtest: the claude check runs the bus unit's MOSAIC_CLAUDE_BIN over claude on PATH
|
|
ok 34 - the claude check runs the bus unit's MOSAIC_CLAUDE_BIN over claude on PATH
|
|
---
|
|
duration_ms: 323.064137
|
|
type: 'test'
|
|
...
|
|
# Subtest: the session env file refuses when missing, open to others, a symlink, empty, or emptied by a later line
|
|
ok 35 - the session env file refuses when missing, open to others, a symlink, empty, or emptied by a later line
|
|
---
|
|
duration_ms: 648.564142
|
|
type: 'test'
|
|
...
|
|
# Subtest: inside a session's sandbox a bind below 1024 fails with EACCES, and a bind on a free high port succeeds
|
|
ok 36 - inside a session's sandbox a bind below 1024 fails with EACCES, and a bind on a free high port succeeds
|
|
---
|
|
duration_ms: 83.219239
|
|
type: 'test'
|
|
...
|
|
1..36
|
|
# tests 36
|
|
# suites 0
|
|
# pass 36
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 16390.640047
|