VirtualBox

Changeset 58060 in vbox


Ignore:
Timestamp:
Oct 6, 2015 5:37:08 PM (9 years ago)
Author:
vboxsync
Message:

tstRTUri.cpp: fixed the windows centric test strings used with URI_FILE_FORMAT_UNIX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTUri.cpp

    r58059 r58060  
    419419    },
    420420    {   /* #12: */
    421         /* .pszPath          =*/ "/unixserver/isos/files.lst",
    422         /* .pszUri           =*/ "file:///unixserver/isos/files.lst",
    423         /* .uFormat          =*/ URI_FILE_FORMAT_UNIX,
    424         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    425         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    426         /* PathCreateFromUrl =   "\\unixserver\\isos\\files.lst" - differs */
    427         /* UrlCreateFromPath =   "file:///unixserver/isos/files.lst" - same */
     421        /* .pszPath          =*/ "/somerootsubdir/isos/files.lst",
     422        /* .pszUri           =*/ "file:///somerootsubdir/isos/files.lst",
     423        /* .uFormat          =*/ URI_FILE_FORMAT_UNIX,
     424        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     425        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     426        /* PathCreateFromUrl =   "\\somerootsubdir\\isos\\files.lst" - differs */
     427        /* UrlCreateFromPath =   "file:///somerootsubdir/isos/files.lst" - same */
    428428    },
    429429    {   /* #13: */
    430         /* .pszPath          =*/ "\\winserver\\isos\\files.lst",
    431         /* .pszUri           =*/ "file:///winserver%5Cisos%5Cfiles.lst",
    432         /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
    433         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    434         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    435         /* PathCreateFromUrl =   "\\winserver\\isos\\files.lst" - same */
    436         /* UrlCreateFromPath =   "file:///winserver/isos/files.lst" - differs */
     430        /* .pszPath          =*/ "\\cifsserver\\isos\\files.lst",
     431        /* .pszUri           =*/ "file:///cifsserver%5Cisos%5Cfiles.lst",
     432        /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
     433        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     434        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     435        /* PathCreateFromUrl =   "\\cifsserver\\isos\\files.lst" - same */
     436        /* UrlCreateFromPath =   "file:///cifsserver/isos/files.lst" - differs */
    437437    },
    438438    {   /* #14: */
    439         /* .pszPath          =*/ "/myserver/isos/files.lst",
    440         /* .pszUri           =*/ "file:///myserver/isos/files.lst",
    441         /* .uFormat          =*/ URI_FILE_FORMAT_UNIX,
    442         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    443         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    444         /* PathCreateFromUrl =   "\\myserver\\isos\\files.lst" - differs */
    445         /* UrlCreateFromPath =   "file:///myserver/isos/files.lst" - same */
     439        /* .pszPath          =*/ "/rootsubdir/isos/files.lst",
     440        /* .pszUri           =*/ "file:///rootsubdir/isos/files.lst",
     441        /* .uFormat          =*/ URI_FILE_FORMAT_UNIX,
     442        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     443        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     444        /* PathCreateFromUrl =   "\\rootsubdir\\isos\\files.lst" - differs */
     445        /* UrlCreateFromPath =   "file:///rootsubdir/isos/files.lst" - same */
    446446    },
    447447    {   /* #15: */
    448         /* .pszPath          =*/ "\\myserver\\isos\\files.lst",
    449         /* .pszUri           =*/ "file:///myserver%5Cisos%5Cfiles.lst",
    450         /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
    451         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    452         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    453         /* PathCreateFromUrl =   "\\myserver\\isos\\files.lst" - same */
    454         /* UrlCreateFromPath =   "file:///myserver/isos/files.lst" - differs */
     448        /* .pszPath          =*/ "\\cifsserver\\isos\\files.lst",
     449        /* .pszUri           =*/ "file:///cifsserver%5Cisos%5Cfiles.lst",
     450        /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
     451        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     452        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     453        /* PathCreateFromUrl =   "\\cifsserver\\isos\\files.lst" - same */
     454        /* UrlCreateFromPath =   "file:///cifsserver/isos/files.lst" - differs */
    455455    },
    456456};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette