test: Fix tst.probestar.d trigger
PATCH v2 19/22 test: Fix tst.probestar.d trigger
From: Eugene Loh <[email protected]>
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 <[email protected]>
--- test/unittest/probes/tst.probestar.d | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
test/unittest/probes/tst.probestar.d +2 -5
@@ -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;
Signature · 1 line
2.43.5
Quoted 8 lines · On Thu, Oct 17, 2024 at 07:00:05PM -0400, [email protected] wrote:
From: Eugene Loh <[email protected]>
This test was relying on a trigger that uses the obsolete
dt_test, even thoughdt_testis irrelevant to the test.Use a different trigger.
Signed-off-by Eugene Loh <[email protected]>
Reviewed-by Kris Van Hees <[email protected]>
Quoted 36 lines
--- test/unittest/probes/tst.probestar.d | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)test/unittest/probes/tst.probestar.d +2
-5@@ -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;Signature · 1 line
2.43.5