# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 2018-04-08 03:30:59
# Node ID 152f1b47e0adbdc44c5bc593977d4ad365b9cc0e
# Parent  d33997123ea57c598b5b9fc165152fceadb27bab

tests: quote variable passed to shell test command

diff --git a/tests/helpers-testrepo.sh b/tests/helpers-testrepo.sh
--- a/tests/helpers-testrepo.sh
+++ b/tests/helpers-testrepo.sh
@@ -10,7 +10,7 @@
 # system mercurial installation, and may require extensions or settings from
 # the system installation.
 
-if [ -n $HGTESTEXTRAEXTENSIONS ]; then
+if [ -n "$HGTESTEXTRAEXTENSIONS" ]; then
     for extension in $HGTESTEXTRAEXTENSIONS; do
         extraoptions="$extraoptions --config extensions.$extension=!"
     done