summaryrefslogtreecommitdiffstats
path: root/lib/libxo/tests/functional_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxo/tests/functional_test.sh')
-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 b61e947..39c3715 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}\
}
OpenPOWER on IntegriCloud