aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-09-28 18:02:27 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-09-28 18:02:27 +0000
commit819961c5808b053c626648e202dec42a19ebe7a6 (patch)
tree21c73b990dbd2a51a81620a0adf16bec0b41726b
parent8b889b8953828fe22e5de68647a35610dd87ff8f (diff)
downloadsrc-819961c5808b053c626648e202dec42a19ebe7a6.tar.gz
src-819961c5808b053c626648e202dec42a19ebe7a6.zip
Temporarily skip sys.geom.class.multipath.failloop.failloop in CI
This test case uses `dtrace -c` but it has some issues at the moment While here, add a checker for dtrace executes successfully or not to provide a more informative error message. PR: 258763 Sponsored by: The FreeBSD Foundation
-rwxr-xr-xtests/sys/geom/class/multipath/failloop.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sys/geom/class/multipath/failloop.sh b/tests/sys/geom/class/multipath/failloop.sh
index f9a1417ae37f..b089f0f53d11 100755
--- a/tests/sys/geom/class/multipath/failloop.sh
+++ b/tests/sys/geom/class/multipath/failloop.sh
@@ -36,6 +36,10 @@ failloop_head()
}
failloop_body()
{
+ if [ "$(atf_config_get ci false)" = "true" ]; then
+ atf_skip "https://bugs.freebsd.org/258763"
+ fi
+
sysctl -n kern.geom.notaste > kern.geom.notaste.txt
load_gnop
load_gmultipath
@@ -59,6 +63,9 @@ failloop_body()
# The dd command should've failed ...
atf_check_equal 1 $dd_status
# and triggered 1 or 2 path restores
+ if [ ! -f restore_count ]; then
+ atf_fail "dtrace didn't execute succfully"
+ fi
if [ `cat restore_count` -gt 2 ]; then
atf_fail "gmultipath restored paths too many times"
fi