From 6fa760363342f4ee5c92b7f4f96c2f3c942c77c0 Mon Sep 17 00:00:00 2001 From: bcherb2 Date: Wed, 18 Nov 2026 02:01:01 -0500 Subject: [PATCH] test: mutations for the claude script, desktop key and go channel Piping the Claude Code installer into bash, placing the Claude Desktop key unverified, and running the go channel before go is unpacked. The unit suite kills all three. --- .tests/mutations/28-claude-script-piped-to-bash.mut | 11 +++++++++++ .../mutations/29-claude-desktop-key-not-verified.mut | 10 ++++++++++ .tests/mutations/30-go-tools-before-go.mut | 12 ++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 .tests/mutations/28-claude-script-piped-to-bash.mut create mode 100644 .tests/mutations/29-claude-desktop-key-not-verified.mut create mode 100644 .tests/mutations/30-go-tools-before-go.mut diff --git a/.tests/mutations/28-claude-script-piped-to-bash.mut b/.tests/mutations/28-claude-script-piped-to-bash.mut new file mode 100644 index 0000000..3081796 --- /dev/null +++ b/.tests/mutations/28-claude-script-piped-to-bash.mut @@ -0,0 +1,11 @@ +# what: Claude Code's installer piped straight into bash instead of downloaded and checked +# why: no pipefail: a 404 or truncated body runs AND reports success +# kills: …checks it arrived non-empty +# run: unit +<<