summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-04-30 13:57:08 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-05-01 15:07:58 +0200
commit0eea780bceccb5e1693429529f292b2fb36afadd (patch)
treee5b68f35744308b6e981a9a80437c4f60a79411d
parent0480b4743a77c166390f50561e8bcdb68214d4ba (diff)
downloadlvm2-0eea780bceccb5e1693429529f292b2fb36afadd.tar.gz
tests: hide error message
Hide error about missing declare -A support.
-rw-r--r--test/lib/aux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 276bb3518..c6b05f89d 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -786,7 +786,7 @@ EOF
echo "$v"
done >> "$config_values"
- declare -A CONF || {
+ declare -A CONF 2>/dev/null || {
# Associative arrays is not available
local s
for s in $(cut -f1 -d/ "$config_values" | sort | uniq); do