diff --git a/parser/tst/equality.sh b/parser/tst/equality.sh index decf72f78..cadcbc375 100755 --- a/parser/tst/equality.sh +++ b/parser/tst/equality.sh @@ -88,16 +88,16 @@ verify_binary() then if [ -z "$verbose" ] ; then printf "Binary %s %s" "$t" "$desc" ; fi printf "\nFAIL: Hash values do not match\n" 2>&1 - printf "known-good (%s) != profile-under-test (%s) for the following profile:\n%s\n\n" \ - "$good_hash" "$hash" "$profile" 1>&2 + printf "known-good (%s) != profile-under-test (%s) for the following profiles:\nknown-good %s\nprofile-under-test %s\n\n" \ + "$good_hash" "$hash" "$good_profile" "$profile" 1>&2 ((fails++)) ((ret++)) elif [ "$t" == "xequality" ] && [ "$hash" == "$good_hash" ] then if [ -z "$verbose" ] ; then printf "Binary %s %s" "$t" "$desc" ; fi printf "\nunexpected PASS: equality test with known problem, Hash values match\n" 2>&1 - printf "known-good (%s) == profile-under-test (%s) for the following profile:\n%s\n\n" \ - "$good_hash" "$hash" "$profile" 1>&2 + printf "known-good (%s) == profile-under-test (%s) for the following profile:\nknown-good %s\nprofile-under-test %s\n\n" \ + "$good_hash" "$hash" "$good_profile" "$profile" 1>&2 ((fails++)) ((ret++)) elif [ "$t" == "xequality" ] && [ "$hash" != "$good_hash" ] @@ -107,16 +107,16 @@ verify_binary() then if [ -z "$verbose" ] ; then printf "Binary %s %s" "$t" "$desc" ; fi printf "\nFAIL: Hash values match\n" 2>&1 - printf "known-good (%s) == profile-under-test (%s) for the following profile:\n%s\n\n" \ - "$good_hash" "$hash" "$profile" 1>&2 + printf "known-good (%s) == profile-under-test (%s) for the following profiles:\nknown-good %s\nprofile-under-test %s\n\n" \ + "$good_hash" "$hash" "$good_profile" "$profile" 1>&2 ((fails++)) ((ret++)) elif [ "$t" == "xinequality" ] && [ "$hash" != "$good_hash" ] then if [ -z "$verbose" ] ; then printf "Binary %s %s" "$t" "$desc" ; fi printf "\nunexpected PASS: inequality test with known problem, Hash values do not match\n" 2>&1 - printf "known-good (%s) != profile-under-test (%s) for the following profile:\n%s\n\n" \ - "$good_hash" "$hash" "$profile" 1>&2 + printf "known-good (%s) != profile-under-test (%s) for the following profile:\nknown-good %s\nprofile-under-test %s\n\n" \ + "$good_hash" "$hash" "$good_profile" "$profile" 1>&2 ((fails++)) ((ret++)) elif [ "$t" == "xinequality" ] && [ "$hash" == "$good_hash" ]