[DTrace-devel] [PATCH 1/2] test: Fix incomplete line in .x file

Kris Van Hees kris.van.hees at oracle.com
Wed Apr 20 02:49:23 UTC 2022


On Fri, Apr 15, 2022 at 02:53:50PM -0400, eugene.loh--- via DTrace-devel wrote:
> From: Eugene Loh <eugene.loh at oracle.com>
> 
> A line in tst.stack_fbt.x had been put back mysteriously chopped off,
> causing the script to fail and tst.stack_fbt.d and tst.stack3_fbt.d
> to be skipped inadvertently.
> 
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

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

> ---
>  test/unittest/stack/tst.stack_fbt.x | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/unittest/stack/tst.stack_fbt.x b/test/unittest/stack/tst.stack_fbt.x
> index 86f2694a..4561df8b 100755
> --- a/test/unittest/stack/tst.stack_fbt.x
> +++ b/test/unittest/stack/tst.stack_fbt.x
> @@ -1,6 +1,6 @@
>  #!/bin/bash
>  
> -read MAJOR MINOR <<< `uname -r | grep -Eo '^[0-9]+\.[0-9]+'
> +read MAJOR MINOR <<< `uname -r | grep -Eo '^[0-9]+\.[0-9]+' | tr '.' ' '`
>  
>  if [ $MAJOR -eq 5 -a $MINOR -lt 8 ]; then
>  	exit 0
> -- 
> 2.18.4
> 
> 
> _______________________________________________
> 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