Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 17:35:09 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r362655 - stable/12/bin/sh/tests
Message-ID:  <202006261735.05QHZ9Bo000431@repo.freebsd.org>

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

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

Modified:
  stable/12/bin/sh/tests/functional_test.sh
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/bin/sh/tests/functional_test.sh
==============================================================================
--- stable/12/bin/sh/tests/functional_test.sh	Fri Jun 26 16:20:34 2020	(r362654)
+++ stable/12/bin/sh/tests/functional_test.sh	Fri Jun 26 17:35:09 2020	(r362655)
@@ -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?202006261735.05QHZ9Bo000431>