fix: putty --help exits 1, don't check exit code
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 35s
Docker Build and Push / test (pull_request) Successful in 23s
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
Sagent
2026-06-09 12:29:39 +00:00
parent 0f7870c1e6
commit d28683e0d0
+1 -2
View File
@@ -19,8 +19,7 @@ assert_eq() {
TMPDIR="$(mktemp -d)"
trap 'rm -rf "$TMPDIR"' EXIT
docker run --rm "$IMAGE" putty --help > "$TMPDIR/output" 2>&1 && RC=0 || RC=$?
assert_eq "putty --help exits cleanly" "0" "$RC"
docker run --rm "$IMAGE" putty --help > "$TMPDIR/output" 2>&1 || true
if [ -s "$TMPDIR/output" ]; then
echo "PASS: putty --help produces output"