git: 8e03a750865b - main - Skip sys.geom.class.multipath.failloop.failloop if dtrace fails to run
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Mar 2022 10:12:58 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=8e03a750865b2920d8d1d8cf89210dc2183ea802 commit 8e03a750865b2920d8d1d8cf89210dc2183ea802 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2022-03-08 10:12:40 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-03-08 10:12:40 +0000 Skip sys.geom.class.multipath.failloop.failloop if dtrace fails to run This test case depends on dtrace and sometimes gets affected if dtrace has issues. Make it report skipped instead of failure when dtrace fails to run. Sponsored by: The FreeBSD Foundation --- tests/sys/geom/class/multipath/failloop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/geom/class/multipath/failloop.sh b/tests/sys/geom/class/multipath/failloop.sh index 0f0202bb8b01..2ec0d0b82282 100755 --- a/tests/sys/geom/class/multipath/failloop.sh +++ b/tests/sys/geom/class/multipath/failloop.sh @@ -57,7 +57,7 @@ failloop_body() -c "dd if=/dev/zero of=/dev/multipath/"$name" bs=4096 count=1" \ 2>&1 | awk '/exited with status/ {print $NF}'` if [ ! -f restore_count ]; then - atf_fail "dtrace didn't execute successfully" + atf_skip "dtrace didn't execute successfully" fi # The dd command should've failed ... atf_check_equal 1 $dd_status