[apparmor] [PATCH] parser: Make equality test output look like minimize test output

John Johansen john.johansen at canonical.com
Sat Jan 11 03:00:53 UTC 2014


On 01/10/2014 05:09 PM, Tyler Hicks wrote:
> Subtle change to remove the "..." between the test description and
> result and also to single-space the output. This brings the output in
> line with what minimize.sh outputs, which is the test that runs just
> before equality.sh.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: John Johansen <john.johansen at canonical.com>

> ---
>  parser/tst/equality.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/parser/tst/equality.sh b/parser/tst/equality.sh
> index 34b1443..6e1f8c2 100755
> --- a/parser/tst/equality.sh
> +++ b/parser/tst/equality.sh
> @@ -49,7 +49,7 @@ verify_binary_equality()
>  	shift
>  	shift
>  
> -	printf "Binary equality %s ..." "$desc"
> +	printf "Binary equality %s" "$desc"
>  	good_hash=$(hash_binary_policy "$good_profile")
>  	if [ $? -ne 0 ]
>  	then
> @@ -80,7 +80,7 @@ verify_binary_equality()
>  
>  	if [ $ret -eq 0 ]
>  	then
> -		printf " ok\n\n"
> +		printf " ok\n"
>  	fi
>  
>  	return $ret
> 




More information about the AppArmor mailing list