#!/bin/sh # Tests for bin/should-skip-release. # # The regression these exist for: an unanchored substring match let a commit # that merely *described* the skip marker skip its own release. set -u ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd) SUT="$ROOT/bin/should-skip-release" pass=0 fail=0 if [ ! -f "$SUT" ]; then printf 'FAIL: %s does not exist\n' "$SUT" exit 1 fi # expect