~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to TEST/v2test_gc.c

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2012-11-15 11:49:36 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20121115114936-53syr7flsjo21gw3
Tags: 2.2.4-0ubuntu1
* New upstream release.
* Add debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    if (rc == 0 ) {
94
94
        
95
95
        client = ce->ft->connect(ce, cim_host , "http", cim_host_port, cim_host_userid, cim_host_passwd , &status);
 
96
        if (client == NULL) {
 
97
          printf("Coudn't connect to the server. Check if sfcb is running.\n");
 
98
          return 1;
 
99
        }
96
100
 
97
101
        op = (CMPIObjectPath *)ce->ft->newObjectPath(ce, "root/cimv2", "CIM_ComputerSystem" , &status); 
98
102
        class =(CMPIConstClass *) client->ft->getClass(client,(CIMCObjectPath *) op, CMPI_FLAG_IncludeQualifiers, NULL, &status);