[DTrace-devel] [PATCH 2/2] test: Remove XFAIL for copyinstr()
eugene.loh at oracle.com
eugene.loh at oracle.com
Wed Aug 10 17:21:00 UTC 2022
From: Eugene Loh <eugene.loh at oracle.com>
This patch can be squashed to
dee44bc6 Add support for copyinstr() subroutine
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
test/unittest/dif/bcopy.aarch64.x | 0
test/unittest/dif/bcopy.d | 6 ++++--
test/unittest/syscall/tst.openret.sh | 3 +--
3 files changed, 5 insertions(+), 4 deletions(-)
delete mode 100644 test/unittest/dif/bcopy.aarch64.x
diff --git a/test/unittest/dif/bcopy.aarch64.x b/test/unittest/dif/bcopy.aarch64.x
deleted file mode 100644
index e69de29b..00000000
diff --git a/test/unittest/dif/bcopy.d b/test/unittest/dif/bcopy.d
index 1473b335..a8a383fa 100644
--- a/test/unittest/dif/bcopy.d
+++ b/test/unittest/dif/bcopy.d
@@ -1,7 +1,9 @@
-/* @@xfail: dtv2 */
/* @@trigger: open */
+/* @@runtest-opts: -Z */
-syscall::open:entry
+syscall::open:entry,
+syscall::openat:entry,
+syscall::openat2:entry
{
a = alloca(8);
bcopy(copyinstr(arg0), a, 8);
diff --git a/test/unittest/syscall/tst.openret.sh b/test/unittest/syscall/tst.openret.sh
index d93d20bf..4d364834 100755
--- a/test/unittest/syscall/tst.openret.sh
+++ b/test/unittest/syscall/tst.openret.sh
@@ -1,11 +1,10 @@
#!/bin/bash
#
# 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
script() {
$dtrace -c 'cat shajirosan' -qs /dev/stdin <<EOF
--
2.18.4
More information about the DTrace-devel
mailing list