Whamcloud - gitweb
LU-12795 tests: Prefer FAILF in mpi tests 76/36276/2
authorShaun Tancheff <stancheff@cray.com>
Mon, 23 Sep 2019 17:18:21 +0000 (12:18 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2019 03:45:10 +0000 (03:45 +0000)
commitcc697263da464f16fd11cb8550a2838bdac42fd1
treecc04084836487f6f615c2ea1e4b918d99415d28b
parentdf21a3b9eb01621de92940e441cd557913d1cd05
LU-12795 tests: Prefer FAILF in mpi tests

Prefer FAILF() to the sprintf()/FAIL() pattern and remove
the errmsg temporary buffer.

Cleanup use of assignment in conditional statements.

Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: Icb04b188209ad3717260aa1238de1d9788d76f79
Reviewed-on: https://review.whamcloud.com/36276
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/mpi/cascading_rw.c
lustre/tests/mpi/parallel_grouplock.c