tmux-party: share a tmux session with people on the same UNIX host. Single-file POSIX shell (party) with a filesystem + tmux server-access trust model. See README.md.
20 lines
438 B
Bash
20 lines
438 B
Bash
#!/usr/bin/env bats
|
|
|
|
load 'helpers'
|
|
|
|
setup() { setup_party_sandbox; }
|
|
teardown() { teardown_party_sandbox; }
|
|
|
|
@test "test harness can locate the party binary path" {
|
|
[ -n "$PARTY_BIN" ]
|
|
# The file does not need to exist yet at this stage; we're proving
|
|
# the path is computed correctly.
|
|
case "$PARTY_BIN" in
|
|
*/party) ;;
|
|
*) false ;;
|
|
esac
|
|
}
|
|
|
|
@test "sandbox setup creates the override dir" {
|
|
[ -d "$PARTY_SOCKET_DIR" ]
|
|
}
|