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

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}
}