diff options
author | Martin Schwenke <martin@meltin.net> | 2020-07-06 14:02:49 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2020-07-22 07:53:35 +0000 |
commit | 3ff8765d04c0fb950b7be4f9a049999aeb08223b (patch) | |
tree | e5fdb4a97a2225cf20a897a79157917436938be0 /ctdb | |
parent | 6436c74ebf6adcbf21abf76567c7b87e61abfaf0 (diff) | |
download | samba-3ff8765d04c0fb950b7be4f9a049999aeb08223b.tar.gz |
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>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/tests/scripts/integration.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash index 31f4387a404..39c4e8b8167 100644 --- a/ctdb/tests/scripts/integration.bash +++ b/ctdb/tests/scripts/integration.bash @@ -164,7 +164,7 @@ try_command_on_node () if $verbose ; then echo "Output of \"$cmd\":" - cat "$outfile" + cat "$outfile" || true fi } |