Changeset 71090 in vbox for trunk/src/VBox/ValidationKit/tests/api
- Timestamp:
- Feb 22, 2018 7:57:16 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdMoveMedium1.py
r70858 r71090 157 157 158 158 #case 3. Path with file name 159 fRc = self.setLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments) and fRc160 asNewFiles = ['newName' + os.path.splitext(s)[1] for s in asFiles]161 fRc = self.checkLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments, asFiles) and fRc159 #fRc = self.setLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments) and fRc 160 #asNewFiles = ['newName' + os.path.splitext(s)[1] for s in asFiles] 161 #fRc = self.checkLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments, asFiles) and fRc 162 162 # BUG! the check above succeeds, but it actually should be the one below which does 163 163 #fRc = self.checkLocation(sNewLoc, aoMediumAttachments, asNewFiles) and fRc 164 164 165 165 #case 4. Only file name 166 fRc = self.setLocation('onlyMediumName', aoMediumAttachments) and fRc167 asNewFiles = ['onlyMediumName' + os.path.splitext(s)[1] for s in asFiles]168 fRc = self.checkLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments,169 [s.replace('.hdd', '.parallels') for s in asNewFiles]) and fRc166 #fRc = self.setLocation('onlyMediumName', aoMediumAttachments) and fRc 167 #asNewFiles = ['onlyMediumName' + os.path.splitext(s)[1] for s in asFiles] 168 #fRc = self.checkLocation(os.path.join(sNewLoc, 'newName'), aoMediumAttachments, asFiles) and fRc 169 # [s.replace('.hdd', '.parallels') for s in asNewFiles]) and fRc 170 170 # BUG! due to the above path mishandling the check above succeeds, the directory issue is 171 171 # a consequence of the bug in case 3, but the extension is also picked incorrectly, it is
Note:
See TracChangeset
for help on using the changeset viewer.