aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xo
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-07-06 08:05:57 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-07-06 08:05:57 +0000
commit13464e4a44fc58490a03bb8bfc7e3c972e9c30b2 (patch)
treefba21337c47a6fe884a1d4209664c81c7f971e05 /usr.bin/xo
parent1c227d0049bd21f68905b91e84f3bdbd606f9a3d (diff)
downloadsrc-13464e4a44fc58490a03bb8bfc7e3c972e9c30b2.tar.gz
src-13464e4a44fc58490a03bb8bfc7e3c972e9c30b2.zip
Chase upstream change deprecating LIBXO_OPTIONS similar to r320521
LIBXO_OPTIONS was deprecated in favor of the --libxo options. Inspired by: https://github.com/Juniper/libxo (02272d5c6d7d)
Notes
Notes: svn path=/head/; revision=320728
Diffstat (limited to 'usr.bin/xo')
-rwxr-xr-xusr.bin/xo/tests/functional_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/xo/tests/functional_test.sh b/usr.bin/xo/tests/functional_test.sh
index 2a26faa4962e..c57c88211d1e 100755
--- a/usr.bin/xo/tests/functional_test.sh
+++ b/usr.bin/xo/tests/functional_test.sh
@@ -42,8 +42,8 @@ check()
atf_check -s exit:0 -e file:${err_file} -o file:${out_file} \
env LC_ALL=en_US.UTF-8 \
- LIBXO_OPTIONS=":W${xo_fmt}" TZ="EST" "${SRCDIR}/${tc}" \
- ${XO}
+ TZ="EST" "${SRCDIR}/${tc}" \
+ "${XO} --libxo:W${xo_fmt}"
}
add_testcase()