* [PATCH 1/2] test: Clean up tst.specopen.d
@ 2024-10-28 18:33 eugene.loh
2024-10-28 18:33 ` [PATCH 2/2] test: Remove misformatted and incorrect @@xfail eugene.loh
2024-10-28 18:44 ` [PATCH 1/2] test: Clean up tst.specopen.d Kris Van Hees
0 siblings, 2 replies; 4+ messages in thread
From: eugene.loh @ 2024-10-28 18:33 UTC (permalink / raw)
To: dtrace, dtrace-devel
From: Eugene Loh <eugene.loh@oracle.com>
The test does not do much. Mostly, it is a speculation demo.
It just needed some syntactical cleanup to pass.
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
---
test/demo/spec/specopen.d | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/test/demo/spec/specopen.d b/test/demo/spec/specopen.d
index c510045b8..700bdd9ff 100644
--- a/test/demo/spec/specopen.d
+++ b/test/demo/spec/specopen.d
@@ -7,10 +7,7 @@
* http://oss.oracle.com/licenses/upl.
*/
-/* @@runtest-opts: $_pid */
-/* @@xfail: fbt provider not yet implemented; needs a trigger with failing open()s */
-
-syscall::open:entry,
+syscall::open:entry
{
/*
* The call to speculation() creates a new speculation. If this fails,
@@ -38,7 +35,7 @@ fbt:::
speculate(self->spec);
}
-syscall::open:return,
+syscall::open:return
/self->spec/
{
/*
@@ -51,7 +48,7 @@ syscall::open:return,
trace(errno);
}
-syscall::open:return,
+syscall::open:return
/self->spec && errno != 0/
{
/*
@@ -61,7 +58,7 @@ syscall::open:return,
self->spec = 0;
}
-syscall::open:return,
+syscall::open:return
/self->spec && errno == 0/
{
/*
--
2.43.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] test: Remove misformatted and incorrect @@xfail
2024-10-28 18:33 [PATCH 1/2] test: Clean up tst.specopen.d eugene.loh
@ 2024-10-28 18:33 ` eugene.loh
2024-10-28 18:45 ` Kris Van Hees
2024-10-28 18:44 ` [PATCH 1/2] test: Clean up tst.specopen.d Kris Van Hees
1 sibling, 1 reply; 4+ messages in thread
From: eugene.loh @ 2024-10-28 18:33 UTC (permalink / raw)
To: dtrace, dtrace-devel
From: Eugene Loh <eugene.loh@oracle.com>
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
---
test/unittest/begin/tst.begin-starvation.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/unittest/begin/tst.begin-starvation.sh b/test/unittest/begin/tst.begin-starvation.sh
index f8e473bcd..b3aa59477 100755
--- a/test/unittest/begin/tst.begin-starvation.sh
+++ b/test/unittest/begin/tst.begin-starvation.sh
@@ -5,8 +5,6 @@
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.
#
-# @@ xfail: BEGIN not yet forced to be processed first
-#
#
# This script tests that BEGIN in conjunction with a high-volume probe
--
2.43.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] test: Clean up tst.specopen.d
2024-10-28 18:33 [PATCH 1/2] test: Clean up tst.specopen.d eugene.loh
2024-10-28 18:33 ` [PATCH 2/2] test: Remove misformatted and incorrect @@xfail eugene.loh
@ 2024-10-28 18:44 ` Kris Van Hees
1 sibling, 0 replies; 4+ messages in thread
From: Kris Van Hees @ 2024-10-28 18:44 UTC (permalink / raw)
To: eugene.loh; +Cc: dtrace, dtrace-devel
On Mon, Oct 28, 2024 at 02:33:33PM -0400, eugene.loh@oracle.com wrote:
> From: Eugene Loh <eugene.loh@oracle.com>
>
> The test does not do much. Mostly, it is a speculation demo.
> It just needed some syntactical cleanup to pass.
>
> Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
> ---
> test/demo/spec/specopen.d | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/test/demo/spec/specopen.d b/test/demo/spec/specopen.d
> index c510045b8..700bdd9ff 100644
> --- a/test/demo/spec/specopen.d
> +++ b/test/demo/spec/specopen.d
> @@ -7,10 +7,7 @@
> * http://oss.oracle.com/licenses/upl.
> */
>
> -/* @@runtest-opts: $_pid */
> -/* @@xfail: fbt provider not yet implemented; needs a trigger with failing open()s */
> -
> -syscall::open:entry,
> +syscall::open:entry
> {
> /*
> * The call to speculation() creates a new speculation. If this fails,
> @@ -38,7 +35,7 @@ fbt:::
> speculate(self->spec);
> }
>
> -syscall::open:return,
> +syscall::open:return
> /self->spec/
> {
> /*
> @@ -51,7 +48,7 @@ syscall::open:return,
> trace(errno);
> }
>
> -syscall::open:return,
> +syscall::open:return
> /self->spec && errno != 0/
> {
> /*
> @@ -61,7 +58,7 @@ syscall::open:return,
> self->spec = 0;
> }
>
> -syscall::open:return,
> +syscall::open:return
> /self->spec && errno == 0/
> {
> /*
> --
> 2.43.5
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] test: Remove misformatted and incorrect @@xfail
2024-10-28 18:33 ` [PATCH 2/2] test: Remove misformatted and incorrect @@xfail eugene.loh
@ 2024-10-28 18:45 ` Kris Van Hees
0 siblings, 0 replies; 4+ messages in thread
From: Kris Van Hees @ 2024-10-28 18:45 UTC (permalink / raw)
To: eugene.loh; +Cc: dtrace, dtrace-devel
On Mon, Oct 28, 2024 at 02:33:34PM -0400, eugene.loh@oracle.com wrote:
> From: Eugene Loh <eugene.loh@oracle.com>
>
> Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
> ---
> test/unittest/begin/tst.begin-starvation.sh | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/test/unittest/begin/tst.begin-starvation.sh b/test/unittest/begin/tst.begin-starvation.sh
> index f8e473bcd..b3aa59477 100755
> --- a/test/unittest/begin/tst.begin-starvation.sh
> +++ b/test/unittest/begin/tst.begin-starvation.sh
> @@ -5,8 +5,6 @@
> # Licensed under the Universal Permissive License v 1.0 as shown at
> # http://oss.oracle.com/licenses/upl.
> #
> -# @@ xfail: BEGIN not yet forced to be processed first
> -#
>
> #
> # This script tests that BEGIN in conjunction with a high-volume probe
> --
> 2.43.5
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-28 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 18:33 [PATCH 1/2] test: Clean up tst.specopen.d eugene.loh
2024-10-28 18:33 ` [PATCH 2/2] test: Remove misformatted and incorrect @@xfail eugene.loh
2024-10-28 18:45 ` Kris Van Hees
2024-10-28 18:44 ` [PATCH 1/2] test: Clean up tst.specopen.d Kris Van Hees
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.