aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Shafer <phil@FreeBSD.org>2017-06-30 23:53:40 +0000
committerPhil Shafer <phil@FreeBSD.org>2017-06-30 23:53:40 +0000
commit20a21f671fe5d7ec09054bdcad40e90f72972244 (patch)
treeaef9406353b7d022481a22583c9766ce65381e98
parent98018db4193ca99b4261cfb3e84ab2b16586695e (diff)
downloadsrc-20a21f671fe5d7ec09054bdcad40e90f72972244.tar.gz
src-20a21f671fe5d7ec09054bdcad40e90f72972244.zip
Notes
-rwxr-xr-xlib/libxo/tests/functional_test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libxo/tests/functional_test.sh b/lib/libxo/tests/functional_test.sh
index b61e947cc55c..39c3715b33b6 100755
--- a/lib/libxo/tests/functional_test.sh
+++ b/lib/libxo/tests/functional_test.sh
@@ -39,14 +39,14 @@ check()
[ -s "${out_file}" ] && out_flag="-o file:${out_file}"
if [ "$xo_fmt" = "E" ]; then
- LIBXO_OPTIONS="warn,encoder=test"
+ libxo_options=" warn,encoder=test"
else
- LIBXO_OPTIONS=":W${xo_fmt}"
+ libxo_options=":W${xo_fmt}"
fi
atf_check -s exit:0 -e file:${err_file} -o file:${out_file} \
env LC_ALL=en_US.UTF-8 \
- LIBXO_OPTIONS="${LIBXO_OPTIONS}" TZ="EST" "${SRCDIR}/${tc}" \
+ TZ="EST" "${SRCDIR}/${tc}" --libxo${libxo_options}\
}