[DTrace-devel] [PATCH v4 7/7] unittest/tcp: update test.x

Kris Van Hees kris.van.hees at oracle.com
Mon Jul 21 22:36:47 UTC 2025


On Wed, Jul 09, 2025 at 03:47:00PM +0100, Alan Maguire via DTrace-devel wrote:
> Now that the tcp provider is supported, update test.x.
> 
> Signed-off-by: Alan Maguire <alan.maguire at oracle.com>

Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>

> ---
>  test/unittest/tcp/test.x | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/test/unittest/tcp/test.x b/test/unittest/tcp/test.x
> index e0ea2a5d..4de906a9 100755
> --- a/test/unittest/tcp/test.x
> +++ b/test/unittest/tcp/test.x
> @@ -1,16 +1,10 @@
>  #!/bin/bash
>  #
>  # Oracle Linux DTrace.
> -# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
> +# Copyright (c) 2017, 2025, 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.
>  
> -check_provider tcp
> -if (( $? != 0 )); then
> -        echo "Could not load tcp provider"
> -        exit 1
> -fi
> -
>  if grep -qF ../ip/client.ip.pl $_test &&
>     ! perl -MIO::Socket::IP -e 'exit(0);' 2>/dev/null; then
>  	echo "No IO::Socket::IP"
> -- 
> 2.39.3
> 
> 
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel



More information about the DTrace-devel mailing list