dtest: fix return value check on do_rdma_write_with_msg
authorAmir Hanania <amir.hanania@intel.com>
Wed, 28 Sep 2016 23:13:26 +0000 (16:13 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Wed, 28 Sep 2016 23:13:26 +0000 (16:13 -0700)
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
test/dtest/dtest.c

index abe3b9f..967b414 100755 (executable)
@@ -958,7 +958,7 @@ int main(int argc, char **argv)
                ret = do_rdma_write_with_msg();
        }
 
-       if (ret != DAT_SUCCESS) {
+       if (!write_only_pp && ret != DAT_SUCCESS) {
                fprintf(stderr, "%d Error do_rdma_write_%swith_msg: %s\n",
                        getpid(), write_immed && write_only ? "imm_":"",
                        DT_RetToStr(ret));