Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 09:39:23 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362646 - head/bin/sh/tests
Message-ID:  <202006260939.05Q9dNa8001979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Fri Jun 26 09:39:23 2020
New Revision: 362646
URL: https://svnweb.freebsd.org/changeset/base/362646

Log:
  Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI
  
  PR:		238870
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/bin/sh/tests/functional_test.sh
==============================================================================
--- head/bin/sh/tests/functional_test.sh	Fri Jun 26 09:32:57 2020	(r362645)
+++ head/bin/sh/tests/functional_test.sh	Fri Jun 26 09:39:23 2020	(r362646)
@@ -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}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006260939.05Q9dNa8001979>