Re: [DTrace-devel] [PATCH 3/8] test: Fix nonexistent @@sort option

Kris Van Hees
2024-08-19T23:15:52Z

On Tue, Jun 04, 2024 at 02:00:03PM -0400, eugene.loh--- via DTrace-devel 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/options/tst.aggrate-fast.d | 4 ++--
> test/unittest/options/tst.aggrate-fast.r | 2 +-
> test/unittest/options/tst.aggrate-slow.d | 4 ++--
> test/unittest/options/tst.aggrate-slow.r | 2 +-
> 4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/test/unittest/options/tst.aggrate-fast.d b/test/unittest/options/tst.aggrate-fast.d
> index 17fe0225..68c46a1d 100644
> --- a/test/unittest/options/tst.aggrate-fast.d
> +++ b/test/unittest/options/tst.aggrate-fast.d
> @@ -1,6 +1,6 @@
> /*
> * Oracle Linux DTrace.
> - * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2023, 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.
> */
> @@ -11,7 +11,7 @@
> */
>
> /* @@trigger: periodic_output */
> -/* @@sort */
> +/* @@nosort */
>
> #pragma D option quiet
> #pragma D option switchrate=100ms
> diff --git a/test/unittest/options/tst.aggrate-fast.r b/test/unittest/options/tst.aggrate-fast.r
> index a32cf7df..c47c6a20 100644
> --- a/test/unittest/options/tst.aggrate-fast.r
> +++ b/test/unittest/options/tst.aggrate-fast.r
> @@ -1,3 +1,4 @@
> +
> 1
>
> 2
> @@ -14,4 +15,3 @@
>
> 8
>
> -
> diff --git a/test/unittest/options/tst.aggrate-slow.d b/test/unittest/options/tst.aggrate-slow.d
> index c4bac5e4..e2a0f2cb 100644
> --- a/test/unittest/options/tst.aggrate-slow.d
> +++ b/test/unittest/options/tst.aggrate-slow.d
> @@ -1,6 +1,6 @@
> /*
> * Oracle Linux DTrace.
> - * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2023, 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.
> */
> @@ -10,7 +10,7 @@
> * actions, multiple printa() should all reflect the same stale count.
> */
> /* @@trigger: periodic_output */
> -/* @@sort */
> +/* @@nosort */
>
> #pragma D option quiet
> #pragma D option switchrate=100ms
> diff --git a/test/unittest/options/tst.aggrate-slow.r b/test/unittest/options/tst.aggrate-slow.r
> index 6cbd6c2f..ba2e979f 100644
> --- a/test/unittest/options/tst.aggrate-slow.r
> +++ b/test/unittest/options/tst.aggrate-slow.r
> @@ -1,3 +1,4 @@
> +
> 1
>
> 1
> @@ -14,4 +15,3 @@
>
> 5
>
> -
> --
> 2.18.4
>
>
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel@oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel