[DTrace-devel] [PATCH 13/13] Eliminate deadman references

eugene.loh at oracle.com eugene.loh at oracle.com
Wed Jul 1 19:41:18 PDT 2020


From: Eugene Loh <eugene.loh at oracle.com>

The deadman support was in the kernel patches for DTrace v1.
It is not in this version.

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 runtest.sh               | 14 --------------
 test/stress/test.options |  1 -
 2 files changed, 15 deletions(-)

diff --git a/runtest.sh b/runtest.sh
index ad579ef1..e0a32a33 100755
--- a/runtest.sh
+++ b/runtest.sh
@@ -797,10 +797,6 @@ for dt in $dtrace; do
         # @@timeout-success: If present, this means that a timeout is
         #                    considered a test pass, not a test failure.
         #
-        # @@deadman-success: If present, this means that a deadman timer
-        #                    firing is considered a test pass, not a test
-        #                    failure.
-        #
         # @@reinvoke-failure: If present, this is an integer indicating the
         #                     number of times to reinvoke failed tests: only
         #                     if they fail every time will they be considered
@@ -1249,16 +1245,6 @@ for dt in $dtrace; do
                 fi
             fi
 
-            # If deadman-success is on, then a deadman timer firing turns
-            # a test into an XFAIL.
-            if grep -q "Abort due to systemic unresponsiveness" $testerr &&
-                [[ "x$(extract_options deadman-success $_test)" != "x" ]]; then
-                testmsg="(expected) systemic unresponsiveness"
-                if [[ $expected_exitcode -eq 0 ]]; then
-                    xfail=t
-                fi
-            fi
-
             # If we are expecting a specific tag in the error output, make sure
             # it is present.  If found, we clear expected_tag to signal that
             # all is fine.
diff --git a/test/stress/test.options b/test/stress/test.options
index 6a8d6b39..7d17d0f5 100644
--- a/test/stress/test.options
+++ b/test/stress/test.options
@@ -1,3 +1,2 @@
 @@timeout: 600
 @@timeout-success: t
-@@deadman-success: t
-- 
2.18.2




More information about the DTrace-devel mailing list