[openib-general] [PATCH] osmtest: create SA database prior to running SLVL and VLArb tests
Hal Rosenstock
halr at voltaire.com
Thu May 11 16:52:05 PDT 2006
In osmtest/osmtest.c, need to create SA database before
running SLVL and VLarb tests
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Modified: gen2/trunk/src/userspace/management/osm/osmtest/osmtest.c
===================================================================
--- gen2/trunk/src/userspace/management/osm/osmtest/osmtest.c 2006-05-11 23:45:36 UTC (rev 7129)
+++ gen2/trunk/src/userspace/management/osm/osmtest/osmtest.c 2006-05-11 23:53:09 UTC (rev 7130)
@@ -6414,6 +6414,16 @@
*/
if (p_osmt->opt.flow == 7)
{
+ status = osmtest_create_db( p_osmt );
+ if( status != IB_SUCCESS )
+ {
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmtest_run: ERR 014A: "
+ "Database creation failed (%s)\n",
+ ib_get_err_str( status ) );
+ goto Exit;
+ }
+
status = osmt_run_slvl_and_vlarb_records_flow(p_osmt);
if( status != IB_SUCCESS )
{
More information about the general
mailing list