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}
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to