[DTrace-devel] [PATCH v2 19/22] test: Fix tst.probestar.d trigger

eugene.loh at oracle.com eugene.loh at oracle.com
Thu Oct 17 23:00:05 UTC 2024


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

This test was relying on a trigger that uses the obsolete
dt_test, even though dt_test is irrelevant to the test.

Use a different trigger.

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 test/unittest/probes/tst.probestar.d | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/test/unittest/probes/tst.probestar.d b/test/unittest/probes/tst.probestar.d
index dad7741e4..1f433d900 100644
--- a/test/unittest/probes/tst.probestar.d
+++ b/test/unittest/probes/tst.probestar.d
@@ -1,11 +1,10 @@
 /*
  * Oracle Linux DTrace.
- * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
  * Licensed under the Universal Permissive License v 1.0 as shown at
  * http://oss.oracle.com/licenses/upl.
  */
-/* @@xfail: dtv2 */
-/* @@trigger: testprobe */
+/* @@trigger: readwholedir */
 
 /*
  * ASSERTION:
@@ -13,10 +12,8 @@
  * Call matching probe clauses with given name using "*"
  *
  * SECTION: Program Structure/Probe Clauses and Declarations
- *
  */
 
-
 #pragma D option quiet
 
 int i;
-- 
2.43.5




More information about the DTrace-devel mailing list