Changeset 21436 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Jul 9, 2009 12:24:28 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49831
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstHostHardwareLinux.cpp
r16178 r21436 59 59 { 60 60 RTPrintf (" device: %s", it->mDevice.c_str()); 61 if (!it->mUdi. empty())61 if (!it->mUdi.isEmpty()) 62 62 RTPrintf (", udi: %s", it->mUdi.c_str()); 63 if (!it->mDescription. empty())63 if (!it->mDescription.isEmpty()) 64 64 RTPrintf (", description: %s", it->mDescription.c_str()); 65 65 RTPrintf ("\n"); … … 70 70 { 71 71 RTPrintf (" device: %s", it->mDevice.c_str()); 72 if (!it->mUdi. empty())72 if (!it->mUdi.isEmpty()) 73 73 RTPrintf (", udi: %s", it->mUdi.c_str()); 74 if (!it->mDescription. empty())74 if (!it->mDescription.isEmpty()) 75 75 RTPrintf (", description: %s", it->mDescription.c_str()); 76 76 RTPrintf ("\n"); … … 118 118 return 1; 119 119 } 120 if (RTLinuxSysFsExists("%s/driver", it2->c_str()) != (size != -1)) 120 if (RTLinuxSysFsExists("%s/driver", it2->c_str()) != (size != -1)) 121 121 { 122 122 RTPrintf ("RTLinuxSysFsExists did not return the expected value for the driver link of interface %s of device %s.\n", … … 144 144 RTPrintf("Failed!\n"); 145 145 exit(1); 146 } 146 } 147 147 #endif /* VBOX_USB_WITH_SYSFS */ 148 148 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.