Skip test written in Googltest in the wrapper script

This leaves the main test body untouched and only skip running in the CI env,
makes doing local test easier while developing.

PR:		244165
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-10-07 07:23:29 +00:00
parent bc683a89a3
commit 3d077160cb

View File

@ -59,7 +59,10 @@ add_testcase()
if [ "$(atf_config_get ci false)" = "true" ]; then
case "${tc_escaped}" in
ForkedOpenatTest_WithFlagInCapabilityMode___|OpenatTest__WithFlag)
eval "${tc_escaped}_body() { skip \"http://bugs.freebsd.org/249960\"; }"
eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/249960\"; }"
;;
PipePdfork__WildcardWait)
eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/244165\"; }"
;;
*)
eval "${tc_escaped}_body() { check ${tc}; }"