Salome HOME
Various fixes for test runs - introducing MEDCOUPLING_RESOURCE_DIR env variable
[tools/medcoupling.git] / src / ParaMEDMEMTest / test_MPI_Access_Time_0.cxx
index a9f5bdb8e09b5f0e4cbffb8c8ad7a862a4765056..e168a59280a1b3e5c90d4067bc1e67cf0332f464 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -74,7 +74,7 @@ void MPIAccessTest::test_MPI_Access_Time_0() {
     strstream << "usage :" << endl
               << "mpirun -np <nbprocs> test_MPI_Access_Time_0" <<endl
               << " nbprocs =2" << endl
-              << "test must be runned with 2 procs" << endl ;
+              << "test must be run with 2 procs" << endl ;
     cerr << strstream.str() << endl ;
     //CPPUNIT_FAIL( strstream.str() ) ;
     return;
@@ -112,7 +112,7 @@ void MPIAccessTest::test_MPI_Access_Time_0() {
   int RecvTimeRequestId[maxreq] ;
   int SendRequestId[maxreq] ;
   int RecvRequestId[maxreq] ;
-  int sts ;
+  int sts = 0;
   int sendbuf[maxreq] ;
   int recvbuf[maxreq] ;
   MEDCoupling::TimeMessage aSendTimeMsg[maxreq] ;