Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 09:14:17 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        Li-Wen Hsu <lwhsu@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r351643 - in head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common: dtraceUtil speculation
Message-ID:  <201908311614.x7VGEHFl000361@gndrsh.dnsmgr.net>
In-Reply-To: <201908311441.x7VEfwZ3045957@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: lwhsu
> Date: Sat Aug 31 14:41:58 2019
> New Revision: 351643
> URL: https://svnweb.freebsd.org/changeset/base/351643
> 
> Log:
>   Fix tests use /etc/motd after r350184 by using an always existing file

If the tests is dependent on "always existing" shouldnt the test
insure that itself by actually creating the file?


>   Sponsored by:	The FreeBSD Foundation
> 
> Modified:
>   head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.DestructWithFunction.d.ksh
>   head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.ZeroFunctionProbes.d.ksh
>   head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.NoSpecBuffer.exe
> 
> Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.DestructWithFunction.d.ksh
> ==============================================================================
> --- head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.DestructWithFunction.d.ksh	Sat Aug 31 13:24:22 2019	(r351642)
> +++ head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.DestructWithFunction.d.ksh	Sat Aug 31 14:41:58 2019	(r351643)
> @@ -43,7 +43,7 @@ reader()
>  	while true
>  	do
>  		sleep 0.1
> -		cat /etc/motd > /dev/null
> +		cat /COPYRIGHT > /dev/null
>  	done
>  }
>  
> 
> Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.ZeroFunctionProbes.d.ksh
> ==============================================================================
> --- head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.ZeroFunctionProbes.d.ksh	Sat Aug 31 13:24:22 2019	(r351642)
> +++ head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.ZeroFunctionProbes.d.ksh	Sat Aug 31 14:41:58 2019	(r351643)
> @@ -44,7 +44,7 @@ reader()
>  	while true
>  	do
>  		sleep 0.1
> -		cat /etc/motd > /dev/null
> +		cat /COPYRIGHT > /dev/null
>  	done
>  }
>  
> 
> Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.NoSpecBuffer.exe
> ==============================================================================
> --- head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.NoSpecBuffer.exe	Sat Aug 31 13:24:22 2019	(r351642)
> +++ head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.NoSpecBuffer.exe	Sat Aug 31 14:41:58 2019	(r351643)
> @@ -26,5 +26,5 @@
>  while true
>  do
>  	sleep 0.1
> -	cat /etc/motd > /dev/null
> +	cat /COPYRIGHT > /dev/null
>  done
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908311614.x7VGEHFl000361>