aaddrick--claude-desktop-debian
3e076d4dd9
Deploy Worker / deploy (push) Failing after 1s
Shellcheck / Check shell scripts (push) Failing after 1s
CI / Build Packages (amd64 - appimage) (push) Has been skipped
CI / Build Packages (amd64 - deb) (push) Has been skipped
CI / Build Packages (amd64 - rpm) (push) Has been skipped
CI / Build Packages (arm64 - appimage) (push) Has been skipped
CI / Build Packages (arm64 - deb) (push) Has been skipped
CI / Test Flags Parsing (push) Failing after 1s
BATS Tests / BATS unit tests (push) Failing after 1s
CI / Build Packages (arm64 - rpm) (push) Has been skipped
CI / Test Build Artifacts (amd64) (push) Has been skipped
CI / Test Build Artifacts (arm64) (push) Has been skipped
CI / Update APT Repository (push) Has been cancelled
CI / Mirror Official .deb to Release (push) Has been cancelled
CI / Update DNF Repository (push) Has been cancelled
CI / Update AUR Package (push) Has been cancelled
CI / Create Release (push) Has been cancelled
17 行
552 B
Bash
17 行
552 B
Bash
#!/usr/bin/env bats
|
|
#
|
|
# cowork-protocol.bats
|
|
# End-to-end guard for the bwrap fallback daemon's wire protocol: spawns
|
|
# the daemon and drives it over the length-prefixed-JSON socket the
|
|
# official client uses (see PROTOCOL.md). Delegates to protocol-smoke.js,
|
|
# which spawns and reaps its own daemon.
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BATS_TEST_FILENAME}")" && pwd)"
|
|
|
|
@test "protocol: daemon speaks the official helper socket contract" {
|
|
run node "${SCRIPT_DIR}/protocol-smoke.js"
|
|
echo "$output"
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"ALL PASS"* ]]
|
|
}
|