svn commit: r320728 - head/usr.bin/xo/tests

Ngie Cooper ngie at FreeBSD.org
Thu Jul 6 08:05:58 UTC 2017


Author: ngie
Date: Thu Jul  6 08:05:57 2017
New Revision: 320728
URL: https://svnweb.freebsd.org/changeset/base/320728

Log:
  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)

Modified:
  head/usr.bin/xo/tests/functional_test.sh

Modified: head/usr.bin/xo/tests/functional_test.sh
==============================================================================
--- head/usr.bin/xo/tests/functional_test.sh	Thu Jul  6 07:59:00 2017	(r320727)
+++ head/usr.bin/xo/tests/functional_test.sh	Thu Jul  6 08:05:57 2017	(r320728)
@@ -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()


More information about the svn-src-all mailing list