ftp.c: skip tests if we can't connect to ftp.winehq.org

Alexandre Julliard julliard at winehq.org
Wed Oct 10 04:45:03 CDT 2007

Dimi Paun <dimi at lattica.com> writes:

> diff --git a/dlls/wininet/tests/ftp.c b/dlls/wininet/tests/ftp.c

This doesn't work for me:

../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p wininet_test.exe.so ftp.c && touch ftp.ok
ftp.c:790: Test failed: InternetConnect failed : 12015
wine: Unhandled page fault on read access to 0x0067006e at address 0x60568d4e (thread 0009), starting debugger...
WineDbg starting on pid 0008
Unhandled exception: page fault on read access to 0x0067006e in 32-bit code (0x60568d4e).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:60568d4e ESP:0033fd30 EBP:0033fd68 EFLAGS:00010206(   - 00      - RIP1)
 EAX:0067006e EBX:60580718 ECX:60586ca0 EDX:60586ca4
 ESI:00670046 EDI:00126320
Stack dump:
0x0033fd30:  001100b8 60580718 0033fd68 60568190
0x0033fd40:  60586ca0 00000000 0033fd58 60586ca0
0x0033fd50:  00125558 00000000 00125528 60580718
0x0033fd60:  00000001 6052d1d2 0033fd98 6056a8df
0x0033fd70:  00000001 00000000 00000000 00000000
0x0033fd80:  6052d201 6052d1d2 00000000 6053815c
=>1 0x60568d4e WININET_FreeHandle+0xbe(hinternet=0x1) [/home/julliard/wine/wine/dlls/wininet/internet.c:222] in wininet (0x0033fd68)
  2 0x6056a8df InternetCloseHandle+0x3f(hInternet=<register ESI not in topmost frame>) [/home/julliard/wine/wine/dlls/wininet/internet.c:1021] in wininet (0x0033fd98)
  3 0x60514dea func_ftp+0x19fa() [/home/julliard/wine/wine/dlls/wininet/tests/ftp.c:860] in wininet_test (0x0033fe58)
  4 0x6052c938 run_test+0x128(name=0x1103e8) [/home/julliard/wine/wine/dlls/wininet/tests/../../../include/wine/test.h:389] in wininet_test (0x0033fea8)
  5 0x6052cfcd main+0x14d(argc=<register ECX not in topmost frame>, argv=<register ECX not in topmost frame>) [/home/julliard/wine/wine/dlls/wininet/tests/../../../include/wine/test.h:437] in wininet_test (0x0033fed8)
  6 0x6052d09b __wine_spec_exe_entry+0x5b(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in wininet_test (0x0033ff08)
  7 0x7b8746ce start_process+0xee(arg=0x0) [/home/julliard/wine/wine/dlls/kernel32/process.c:839] in kernel32 (0x0033ffe8)
  8 0x600289a7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x60568d4e WININET_FreeHandle+0xbe [/home/julliard/wine/wine/dlls/wininet/internet.c:222] in wininet: movl	0x28(%esi),%edx
222	        LIST_FOR_EACH_ENTRY_SAFE( child, next, &info->children, WININETHANDLEHEADER, entry )

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list