From 7f58b71d78b1a232272cf9e1d73046c08f2758ae Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Fri, 25 May 2012 14:29:10 +0930 Subject: [PATCH] Improve test framework Do not consider ':' and '=' as shell metacharacters when quoting --- testframework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testframework.sh b/testframework.sh index d6f4eca9..e84543e8 100644 --- a/testframework.sh +++ b/testframework.sh @@ -345,7 +345,7 @@ _tfw_shellarg() { _tfw_shopt -s extglob for arg; do case "$arg" in - +([A-Za-z_0-9.,+\/-])) shellarg+=("$arg");; + +([A-Za-z_0-9.,:=+\/-])) shellarg+=("$arg");; *) shellarg+=("'${arg//'/'\\''}'");; esac done