On Tue, Mar 14, 2023 at 02:54:54PM -0400, Andrew Piskorski wrote:
>> [14/Mar/2023:13:17:45][16420.4aa0][-main:test-] Error: modload:
>> Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll: couldn't load
>> library "Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll":
>> permission denied
>> [14/Mar/2023:13:17:45][16420.4aa0][-main:test-] Fatal: modload: failed to
>> load module 'Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll'
> In my case, trying to run on a network drive (over Samba) seems to be
> causing the "permission denied" problem.
Embarassingly, the problem there was simply that my compiled Windows
*.dll files, located on the Samba drive, lacked execute permission.
Some Samba configurations enforce that and some don't. With that
fixed I can actually look at real test failures.
I am still getting the pop-up I mentioned before:
Debug Error!
Program: C:\web\ns-fork-pub\naviserver\nsd\libnsd.dll
Run-Time Check Failure #2 - Stack around the variable 'filter' was corrupted.
I never see the usual "all.tcl" test summary output. Maybe nsd is
hitting the above "Debug Error!" before getting there?
In the test output, I have lots of "compress" failures, but that's
probably because I don't have zlib installed (yet) on this machine.
I also see 4 "http_chunked" test failures, below:
==== http_chunked-1.1 ADP streaming w/chunks to HTTP/1.1 client FAILED
==== Contents of test case:
nstest::http-0.9 -http 1.1 -setheaders {Connection keep-alive} -getbody 1
-getheaders {Transfer-Encoding Connection Content-Length} GET
/http_chunked.adp?stream=1
---- Result was:
200 chunked keep-alive {} {a
0123456789
5
01234
}
---- Result should have been (exact matching):
200 chunked keep-alive {} {a
0123456789
5
01234
0
}
==== http_chunked-1.1 FAILED
==== http_chunked-1.3 ADP with longer partly-buffered response and
auto-streaming FAILED
==== Contents of test case:
nstest::http-0.9 -http 1.1 -setheaders {Connection keep-alive} -getheaders
{Transfer-Encoding Connection Content-Length} -getbody t GET
/http_chunked.adp?stream=0&bufsize=8
---- Result was:
200 chunked keep-alive {} {a
0123456789
5
01234
}
---- Result should have been (exact matching):
200 chunked keep-alive {} {a
0123456789
5
01234
0
}
==== http_chunked-1.3 FAILED
==== http_chunked-2.1 Tcl streaming w/chunks to HTTP/1.1 client FAILED
==== Contents of test case:
nstest::http-0.9 -http 1.1 -getheaders {Transfer-Encoding Content-Length}
-getbody 1 GET /tclchunked
---- Result was:
200 chunked {} {a
0123456789
5
01234
}
---- Result should have been (exact matching):
200 chunked {} {a
0123456789
5
01234
0
}
==== http_chunked-2.1 FAILED
==== http_chunked-2.1.1 Tcl streaming multiple binary buffers w/chunks to
HTTP/1.1 client FAILED
==== Contents of test case:
nstest::http-0.9 -http 1.1 -getheaders {Transfer-Encoding Content-Length}
-getbody 1 GET /tclchunked
---- Result was:
200 chunked {} {a
0123456789
5
01234
}
---- Result should have been (exact matching):
200 chunked {} {a
0123456789
5
01234
0
}
==== http_chunked-2.1.1 FAILED
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel