mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Fix functional_test.sh to use --libxo options instead of the deprecated
LIBXO_OPTIONS environment variable. Submitted by: phil
This commit is contained in:
parent
98018db419
commit
20a21f671f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320521
@ -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}\
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user