summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-26 09:39:23 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-26 09:39:23 +0000
commitc707e36ef93ca51e049100b685db42dfb33ef04d (patch)
treeaab6179b35265206fed9e1c9cae36dd96473c604 /bin
parent8bf2c3c9f68d11314f4387a78b0e14a94d5f4bf1 (diff)
downloadsrc-test-c707e36ef93ca51e049100b685db42dfb33ef04d.tar.gz
src-test-c707e36ef93ca51e049100b685db42dfb33ef04d.zip
Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI
PR: 238870 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=362646
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sh/tests/functional_test.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/bin/sh/tests/functional_test.sh b/bin/sh/tests/functional_test.sh
index 698053885adce..79adb6a4c74a4 100755
--- a/bin/sh/tests/functional_test.sh
+++ b/bin/sh/tests/functional_test.sh
@@ -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}
}