From 85a4178f827bd0020f25f07c56a83956a9070bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 24 Oct 2014 12:47:26 +0200 Subject: [PATCH] compat.sh: make options a bit more robust --- tests/compat.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/compat.sh b/tests/compat.sh index 861d20e10..b020f3643 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -102,6 +102,10 @@ get_options() { esac shift done + + # sanitize some options (modes checked later) + VERIFIES="$( echo $VERIFIES | tr [a-z] [A-Z] )" + TYPES="$( echo $TYPES | tr [a-z] [A-Z] )" } log() {