From: Clemens Buchacher Date: Mon, 01 Jun 2009 12:14:40 GMT Subject: [PATCH 1/3] test-lib: fail if invalid options are passed Message-ID: <1243858482-6353-2-git-send-email-drizzd@aon.at> In-Reply-To: <1243858482-6353-1-git-send-email-drizzd@aon.at> Previously, unknown options would be ignored, including any subsequent valid options. Signed-off-by: Clemens Buchacher --- t/test-lib.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index dad1437..6e83ceb 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -115,7 +115,7 @@ do --tee) shift ;; # was handled already *) - break ;; + echo "error: unknown test option '$1'" >&2; exit 1 ;; esac done -- 1.6.3.1.147.g637c3