[DTrace-devel] [PATCH] test: Remove XFAIL for copyin()
eugene.loh at oracle.com
eugene.loh at oracle.com
Wed Aug 10 20:34:25 UTC 2022
From: Eugene Loh <eugene.loh at oracle.com>
This patch can be squashed to
d97c8fa7 Add support for copyin() subroutine
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
test/unittest/dif/copyin.aarch64.x | 0
test/unittest/dif/copyin.d | 6 ++++--
test/unittest/dif/loadX.aarch64.x | 0
test/unittest/dif/loadX.d | 6 ++++--
4 files changed, 8 insertions(+), 4 deletions(-)
delete mode 100644 test/unittest/dif/copyin.aarch64.x
delete mode 100644 test/unittest/dif/loadX.aarch64.x
diff --git a/test/unittest/dif/copyin.aarch64.x b/test/unittest/dif/copyin.aarch64.x
deleted file mode 100644
index e69de29b..00000000
diff --git a/test/unittest/dif/copyin.d b/test/unittest/dif/copyin.d
index 0273b592..ca079e18 100644
--- a/test/unittest/dif/copyin.d
+++ b/test/unittest/dif/copyin.d
@@ -1,7 +1,9 @@
-/* @@xfail: dtv2 */
/* @@trigger: open */
+/* @@runtest-opts: -Z */
-::open:entry
+syscall::open:entry,
+syscall::openat:entry,
+syscall::openat2:entry
{
self->data = copyin(arg0, 8);
exit(0);
diff --git a/test/unittest/dif/loadX.aarch64.x b/test/unittest/dif/loadX.aarch64.x
deleted file mode 100644
index e69de29b..00000000
diff --git a/test/unittest/dif/loadX.d b/test/unittest/dif/loadX.d
index afc9d622..f650f04d 100644
--- a/test/unittest/dif/loadX.d
+++ b/test/unittest/dif/loadX.d
@@ -1,7 +1,9 @@
-/* @@xfail: dtv2 */
/* @@trigger: open */
+/* @@runtest-opts: -Z */
-::open:entry
+syscall::open:entry,
+syscall::openat:entry,
+syscall::openat2:entry
{
self->data = copyin(arg0, 8);
self->l = *(uint64_t *)self->data;
--
2.18.4
More information about the DTrace-devel
mailing list