Fix plugin load test

This commit is contained in:
Brad Hards 2011-07-26 12:43:33 +10:00
parent 63f6026ce1
commit bb526b09e8

View File

@ -76,7 +76,12 @@ void test_load_plugin(void)
{
void* entry;
entry = freerdp_load_plugin("cliprdr", "VirtualChannelEntry");
#ifdef _WIN32
/* untested */
entry = freerdp_load_plugin("..\\channels\\cliprdr\\cliprdr", "VirtualChannelEntry");
#else
entry = freerdp_load_plugin("../channels/cliprdr/cliprdr.so", "VirtualChannelEntry");
#endif
CU_ASSERT(entry != NULL);
}