Changeset 60926 in vbox for trunk/src/VBox/Runtime/testcase/tstRTSymlink.cpp
- Timestamp:
- May 10, 2016 2:06:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTSymlink.cpp
r57838 r60926 67 67 RTTESTI_CHECK_RC_OK_RETV(RTPathJoin(szPath1, sizeof(szPath1), pszBaseDir, "tstRTSymlink-link-1")); 68 68 RTSymlinkDelete(szPath1, 0); /* clean up previous run */ 69 RTTESTI_CHECK_RC_RETV(RTSymlinkCreate(szPath1, pszTarget, RTSYMLINKTYPE_FILE, 0), VINF_SUCCESS); 69 int rc = RTSymlinkCreate(szPath1, pszTarget, RTSYMLINKTYPE_FILE, 0); 70 if (rc == VERR_NOT_SUPPORTED) 71 { 72 RTTestPrintf(hTest, RTTESTLVL_ALWAYS, "VERR_NOT_SUPPORTED - skipping\n"); 73 return; 74 } 75 RTTESTI_CHECK_RC_RETV(rc, VINF_SUCCESS); 70 76 71 77 /* Check the predicate functions. */ … … 92 98 93 99 /* Other APIs that have to handle symlinks carefully. */ 94 int rc;95 100 RTFSOBJINFO ObjInfo; 96 101 RTTESTI_CHECK_RC(rc = RTPathQueryInfo(szPath1, &ObjInfo, RTFSOBJATTRADD_NOTHING), VINF_SUCCESS);
Note:
See TracChangeset
for help on using the changeset viewer.