1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb-tests: Strip all spaces from od output

On freebsd, there are trailing spaces in od output.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2018-07-19 17:41:55 +10:00 committed by Martin Schwenke
parent 6f5ed2b8b8
commit 3047202ce7

View File

@ -88,7 +88,7 @@ takeover_helper_out="${TEST_VAR_DIR}/takover_helper.out"
takeover_helper_format_outfd ()
{
od -A n -t d4 "$takeover_helper_out" | sed -e 's|^[[:space:]]*||'
od -A n -t d4 "$takeover_helper_out" | sed -e 's|[[:space:]]*||g'
}
test_takeover_helper ()