ctdb-tests: Strip trailing newlines from expected result output
commitc413838f796587ba819d6f24c766fc0b68ce29b7
authorMartin Schwenke <martin@meltin.net>
Tue, 1 Mar 2022 00:58:51 +0000 (1 11:58 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 6 Apr 2022 06:34:37 +0000 (6 06:34 +0000)
tree0201a47a081a5a5b40c4f902cdb9d0c5a1b57c81
parent5fa0c86b6144fecfb9cd79be18d0fa5dfedf2345
ctdb-tests: Strip trailing newlines from expected result output

This allows the provided output to be specified a little more
carelessly.  As per the comment, trailing newlines can't be matched
anyway, so this is notionally a bug fix.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/unit.sh