fix: polish transcript rescue and doc drift from review
Guard HOME for set -u in the rescue paths, surface a failed rescue mv instead of silently dropping the transcript, and never delete the party dir after a failed save in either close or clean (close now refuses to delete and exits nonzero on a failed rescue too, matching clean, since a message promising the transcript survived followed by rm -rf was a false assurance). Also stop log --stop from announcing a stop that never started, and sync README's knock/log/write(1) wording with the actual behavior.
This commit is contained in:
parent
8d10e62779
commit
df9c1cb0dc
3 changed files with 38 additions and 6 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#!/usr/bin/env bats
|
||||
#
|
||||
# party log: pipe-pane transcript into the per-party dir. Needs a real
|
||||
# tmux server (pipe-pane semantics can't be stubbed honestly), so most
|
||||
# tests gate on require_party_group like the other e2e suites.
|
||||
# tmux server (pipe-pane semantics can't be stubbed honestly), so setup
|
||||
# pins TMUX_PARTY_GROUP to the caller's own primary group rather than
|
||||
# gating on require_party_group like the other e2e suites: no group
|
||||
# membership setup is needed, and no test here ever skips.
|
||||
|
||||
load 'helpers'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue