summaryrefslogtreecommitdiffstats
path: root/testpar/t_prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_prop.c')
-rw-r--r--testpar/t_prop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testpar/t_prop.c b/testpar/t_prop.c
index de36abf..23710d7 100644
--- a/testpar/t_prop.c
+++ b/testpar/t_prop.c
@@ -52,6 +52,7 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
void *rbuf;
MPI_Recv(&recv_size, 1, MPI_INT, 0, 123, MPI_COMM_WORLD, &status);
+ VRFY((recv_size >= 0), "MPI_Recv succeeded");
buf_size = (size_t)recv_size;
rbuf = (uint8_t *)malloc(buf_size);
MPI_Recv(rbuf, recv_size, MPI_BYTE, 0, 124, MPI_COMM_WORLD, &status);