[DTrace-devel] [PATCH v4 24/25] pid: a few more tests are now passing

Nick Alcock nick.alcock at oracle.com
Fri Oct 7 18:11:08 UTC 2022


These all depended on probefunc etc working.

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
---
 test/unittest/pid/tst.probefunc.d | 1 -
 test/unittest/pid/tst.weak1.d     | 3 +--
 test/unittest/pid/tst.weak2.d     | 3 +--
 3 files changed, 2 insertions(+), 5 deletions(-)

A rebase on current dev introduced one new test marked as @@xfail which
now works.

diff --git a/test/unittest/pid/tst.probefunc.d b/test/unittest/pid/tst.probefunc.d
index a8f273cf9e06..85b916adb258 100644
--- a/test/unittest/pid/tst.probefunc.d
+++ b/test/unittest/pid/tst.probefunc.d
@@ -7,7 +7,6 @@
 
 /* @@runtest-opts: -c /bin/date */
 /* @@trigger: none */
-/* @@xfail: dtv2 -- probe* builtin variables do not work for pid probes yet */
 
 pid$target:libc.so:malloc:entry
 {
diff --git a/test/unittest/pid/tst.weak1.d b/test/unittest/pid/tst.weak1.d
index 9e97ae5df8e1..b2a7f790e207 100644
--- a/test/unittest/pid/tst.weak1.d
+++ b/test/unittest/pid/tst.weak1.d
@@ -1,10 +1,9 @@
 /*
  * Oracle Linux DTrace.
- * Copyright (c) 2006, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2022, 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 */
 /* @@runtest-opts: $_pid */
 /* @@trigger: pid-tst-weak1 */
 /* @@trigger-timing: before */
diff --git a/test/unittest/pid/tst.weak2.d b/test/unittest/pid/tst.weak2.d
index f74cd396192f..c0c182276bf5 100644
--- a/test/unittest/pid/tst.weak2.d
+++ b/test/unittest/pid/tst.weak2.d
@@ -1,10 +1,9 @@
 /*
  * Oracle Linux DTrace.
- * Copyright (c) 2006, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2022, 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 */
 /* @@runtest-opts: $_pid */
 /* @@trigger: pid-tst-weak2 */
 /* @@trigger-timing: before */
-- 
2.35.1




More information about the DTrace-devel mailing list