Daniel Collins
e9c45b8ac5
Fix select(), add some tests.
2023-10-18 20:24:05 +01:00
Daniel Collins
8c5752520e
Ignore DNS/DHCP traffic in tests.
2023-10-17 17:37:13 +01:00
Daniel Collins
59d2bbd2b7
Retry starting DOSBox during tests.
2023-09-13 00:24:50 +01:00
Daniel Collins
435df05496
Support DOSBox servers using DNS names.
2023-09-13 00:24:08 +01:00
Daniel Collins
a91e05c11b
Add more DOXBox encapsulation tests.
2023-09-10 22:33:54 +01:00
Daniel Collins
4dfe195d7e
Set test suite packet captures to non-blocking mode.
2023-09-09 10:14:03 +01:00
Daniel Collins
61cfcf7730
Add some initial tests for DOSBox encapsulation.
2023-09-05 22:43:10 +01:00
Daniel Collins
b987f7abc1
Fix test suite build issues.
2023-09-02 15:07:28 +01:00
Daniel Collins
9f8cbdfb55
Initialise configuration before running DirectPlay tests
2019-09-26 11:04:41 +01:00
Daniel Collins
fe21cbb973
Add unit tests for address cache.
2017-09-20 00:19:58 +01:00
Daniel Collins
753280da5d
Improved bind tests.
...
Verify processes exiting abnormally don't hold onto addresses and check
the error code when bind() fails.
2017-09-20 00:13:33 +01:00
Daniel Collins
597bf27204
Gracefully exit programs during tests.
...
Makes the test environment a bit more robust. Also makes a lot of the
tests pass under Wine(!).
2017-09-20 00:13:33 +01:00
Daniel Collins
7ea305fe95
Clean up warnings about comparisons of distinct pointer types.
2017-09-12 17:44:07 +01:00
Daniel Collins
ba7fa5a77f
Allow sending Novell/LLC frames up to the maximum size.
2017-08-20 22:59:49 +01:00
Daniel Collins
b58ef3eb1e
getsockopt: Return correct maxpkt when using Ethernet frame types.
2017-08-20 16:44:49 +01:00
Daniel Collins
1304e84d54
Merge remote-tracking branch 'origin/master' into llc-support
2017-08-19 19:16:06 +01:00
Daniel Collins
df41665cb2
Fiddle with sleeps in DirectPlay tests.
...
Some asynchronous calls didn't have pauses after them, likely to fail
when running on a heavily loaded machine.
2017-06-20 02:05:54 +01:00
Daniel Collins
9d76f3ef00
Extended end-to-end test suite to cover LLC encapsulation.
2017-03-29 22:19:31 +01:00
Daniel Collins
bc778d9f3b
Implemented support for 802.2 LLC framing.
2017-03-29 22:00:47 +01:00
Daniel Collins
659641d436
Added unit tests for Ethernet frame (de)serialising functions.
2017-03-29 20:34:32 +01:00
Daniel Collins
d65fb92480
Extended test suite to cover Novell "raw" Ethernet frames.
2017-03-28 00:27:11 +01:00
Daniel Collins
e5085ba1d9
Implemented basic DirectPlay test suite.
2015-11-26 00:10:49 +00:00
Daniel Collins
5ff0855485
Replace test suite.
...
Dump most of the old "unit" tests which were more system tests and only tested
a small amount of functionality against the host.
The new test suite is a lot more thorough and tests an arbitrary Windows version
over the network rather than testing within the host's WinSock environment.
More documentation detailing how to run this will follow.
2014-10-04 14:46:11 +01:00
Daniel Collins
377c208af9
Fix and extend SPX connect tests.
2014-01-26 00:10:42 +00:00
Daniel Collins
09aacc71f9
Wrote unit tests for connecting to SPX sockets.
2014-01-25 22:32:28 +00:00
Daniel Collins
390f83ddc0
Wrote unit tests for sending/receiving IPX packets.
2014-01-25 22:32:28 +00:00
Daniel Collins
942848cd4f
Wrote socket creation unit tests.
2014-01-25 22:32:27 +00:00
Daniel Collins
68d13baac2
Allow address sharing when the existing socket doesn't have SO_REUSEADDR.
...
The IPX/SPX protocol versions in 98/2000/XP only require the second socket to
have SO_REUSEADDR when attempting to bind to an already-used address. The state
of the option on the first socket is ignored.
The ADDR_TABLE_ENTRY_REUSE flag is kept and set on all sockets in the address
table to keep compatibility with previous versions.
2014-01-12 00:07:52 +00:00
Daniel Collins
533e35729d
Refactored bind tests to use Test::More and prove.
2014-01-03 21:14:59 +00:00
Daniel Collins
e7c19c3d42
Fixed addr32_from_string and addr48_from_string.
2014-01-03 21:12:50 +00:00
Daniel Collins
466c0e3f0d
Implemented basic testing framework and tests for bind behaviour.
2012-11-30 20:21:10 +00:00
Daniel Collins
fcdc62e784
Wrote basic winsock test program.
2011-10-03 12:56:11 +00:00