From: Lyndon Nerenberg Date: Thu, 31 Jan 2013 11:56:55 +0000 (-0800) Subject: Use cmp(1) to compare acheieved and expected test results. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/bdb55520b3ca4ca887497822aee7d399337228aa?hp=bdb55520b3ca4ca887497822aee7d399337228aa Use cmp(1) to compare acheieved and expected test results. 'diff -c' on Solaris 11 generate a spurious 'No differences encountered' message (on stdout, no less!) when the compared files are identical. This changes the test logic to compare with 'cmp -s', and then perform a 'diff -c' if the results don't match expectations. ---