Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI

PR:		238870
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-06-26 09:39:23 +00:00
parent 8bf2c3c9f6
commit c707e36ef9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362646

View file

@ -27,6 +27,7 @@
# $FreeBSD$
SRCDIR=$(atf_get_srcdir)
CATEGORY=$(basename ${SRCDIR})
check()
{
@ -60,7 +61,20 @@ add_testcase()
esac
atf_test_case ${tc_escaped}
eval "${tc_escaped}_body() { check ${tc}; }"
if [ "$(atf_config_get ci false)" = "true" ]; then
case "${CATEGORY}/${tc}" in
execution/bg12.0)
eval "${tc_escaped}_body() { atf_skip 'https://bugs.freebsd.org/247559'; }"
;;
*)
eval "${tc_escaped}_body() { check ${tc}; }"
;;
esac
else
eval "${tc_escaped}_body() { check ${tc}; }"
fi
atf_add_test_case ${tc_escaped}
}