Re: [PATCH] Log kernel version in check.log

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Wed, May 22, 2024 at 01:33:38PM +0200, cem@xxxxxxxxxx wrote:
> From: Carlos Maiolino <cem@xxxxxxxxxx>
> 
> After collecting several xfstests runs, it's useful to keep track on
> which kernel a specific run happened.
> 
> Signed-off-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>

I wonder if you want to capture more of the system variables, like
__generate_report_vars does?

(Should we be capturing ${FSTYP}progs version too?)

Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
>  check | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/check b/check
> index c6dba89b..7703c128 100755
> --- a/check
> +++ b/check
> @@ -478,6 +478,7 @@ _wrapup()
>  		fi
>  
>  		_global_log ""
> +		_global_log "Kernel version: $(uname -r)"
>  		_global_log "$(date)"
>  
>  		echo "SECTION       -- $section" >>$tmp.summary
> -- 
> 2.45.1
> 
> 




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux