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

Tyler Hicks tyhicks at canonical.com
Sat Jan 11 01:09:01 UTC 2014


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>
---
 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
-- 
1.8.3.2




More information about the AppArmor mailing list