VirtualBox

Ignore:
Timestamp:
May 23, 2012 12:37:28 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78135
Message:

tstIntNet-1: now really use an absolute path here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r41325 r41414  
    778778    }
    779779
     780    strcat(szPath, "/../VMMR0.r0");
     781
    780782    char szAbsPath[RTPATH_MAX];
    781783    rc = RTPathAbs(szPath, szAbsPath, sizeof(szAbsPath));
     
    786788    }
    787789
    788     rc = SUPR3LoadVMM(strcat(szPath, "/../VMMR0.r0"));
     790    rc = SUPR3LoadVMM(szAbsPath);
    789791    if (RT_FAILURE(rc))
    790792    {
    791         RTPrintf("tstIntNet-1: SUPR3LoadVMM(\"%s\") -> %Rrc\n", szPath, rc);
     793        RTPrintf("tstIntNet-1: SUPR3LoadVMM(\"%s\") -> %Rrc\n", szAbsPath, rc);
    792794        return 1;
    793795    }
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