1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-tests: Stop cat command failure from causing test failure

In certain circumstance, which aren't obvious, cat(1) can fail when
attempting to write a lot of data.  This is due to something (probably
write(2)) returning EAGAIN.

Given that the -v option should only really be used for test
debugging, ignore the failure instead of spending time debugging it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14446
Signed-off-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Jul 22 04:10:47 UTC 2020 on sn-devel-184
This commit is contained in:
Martin Schwenke 2020-07-06 14:02:49 +10:00 committed by Amitay Isaacs
parent d2f8cd835d
commit 5707781ccf

View File

@ -184,7 +184,7 @@ try_command_on_node ()
if $verbose ; then
echo "Output of \"$cmd\":"
cat "$outfile"
cat "$outfile" || true
fi
}