From b1c742ff41d09787120a16582ed29e372890e38a Mon Sep 17 00:00:00 2001 From: Jonathan Ben-Avraham Date: Thu, 12 Nov 2020 10:28:53 +0200 Subject: [PATCH] Test script documentation fixup This commit provides a scriptable headline for the octal dump output. When the received output of a test is empty or only whitespace, this commit makes it clear that the octal dump putput is not the expected output. --- test/lib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib.sh b/test/lib.sh index e1ec4138..6f95092f 100755 --- a/test/lib.sh +++ b/test/lib.sh @@ -201,6 +201,7 @@ err(){ echo "Received: $2" fi echo -e "\e[0m" + echo "Diff between Expected and Received:" echo "$ret"| od -t c > $dir/clixon-ret echo "$expect"| od -t c > $dir/clixon-expect diff $dir/clixon-expect $dir/clixon-ret