Commit Graph

35 Commits

Author SHA1 Message Date
Heikki Hannikainen 379920c89d Tests: runproduct.pm: Wait for status port to start listening after startup,
for more reliable test runs.
2018-05-31 18:55:52 +00:00
Heikki Hannikainen ee7f0a42a8 Add a test, t/70live-upgrade.t, to test live upgrade.
Light test only, to see that it does upgrade, and clients
stay connected.
2017-02-28 10:09:56 +02:00
Heikki Hannikainen 8875cfb8fd New config option DisallowLoginCall to reject logins by glob match 2015-09-06 11:51:36 +03:00
Heikki Hannikainen 7475552ca2 startup: Don't do DNS call-home when running the test suite. 2013-02-04 23:55:40 +02:00
Heikki Hannikainen 48982660ac tests: Make them run 20 seconds faster by making sleeps in tests shorter 2012-11-22 00:19:11 +02:00
Heikki Hannikainen 3fe8cad58c Fixed ,qAI login processing - don't do it for UDP core peers
since we don't know their usernames anyway.
Added test case within 61udp-peer.t.
2012-10-07 14:28:15 +03:00
Heikki Hannikainen b7e9d89a3b IS_Fake_UDP.pm (testing UDP fake peer): increase buffer sizes
to 64k.
2012-09-19 14:18:26 +03:00
Heikki Hannikainen d93b888201 tests/runproduct: allow setting PRODUCT_NORUN environment variable to test
a pre-running instance under gdb.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@734 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 16:56:02 +00:00
Heikki Hannikainen 1a7514b4f8 Tuned UDP tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@503 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-26 18:03:42 +00:00
Heikki Hannikainen db44312240 Implemented UDP peer group tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@499 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-25 22:03:00 +00:00
Heikki Hannikainen 9d6e7e3f8e IS.pm: support UDP client connection
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@491 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-12 13:11:04 +00:00
Heikki Hannikainen 35cafce30d IS.pm: check for a real CRLF line termination, a CR or LF alone is not enough.
Support for smaller timeouts in readline than 1s (even 0 to just poll once).
sendline: Support raw transmit without CRLF appended, and a noflush parameter.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@473 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-28 06:42:28 +00:00
Heikki Hannikainen c86949abb3 tests runproduct: javaserver 4.0 RC1 startup command support
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@472 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-28 06:38:46 +00:00
Heikki Hannikainen 75bb1fd557 IS.pm: added debug printing
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@387 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:44:02 +00:00
Heikki Hannikainen 2e6ffa34a5 runproduct tests: kill an existing aprsc instance, if a test set crashes and
leaves it running.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@386 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:43:38 +00:00
Heikki Hannikainen 903f49810d IS_Fake: support for a real login procedure and validation of the client
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@384 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:41:51 +00:00
Heikki Hannikainen 04b99655a9 istest: more debug output when needed. Support for no_random_helper.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@383 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:41:19 +00:00
Heikki Hannikainen 54dab6371e = tests IS_Fake: support selecting the fake server's callsign
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@378 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-03 18:07:32 +00:00
Heikki Hannikainen 3930aaeb3d tests updates for supporting javaprssrvr 4.0:
- don't use N0CALL, as it's filtered
- in dupecheck test, do not use an invalid Q construct without igate
callsign, test that sort of invalid packet in the qconstr-verified test
- runproduct.pm fixes for chdir() to javaprssrvr dir
- fix some error returns from IS.pm/istest.pm to show the correct line sent


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@369 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-01 06:10:07 +00:00
Heikki Hannikainen 61bd2f8e5f + expire client_heard_list entries
+ put found entries in the beginning of client_heard_list so that
the following lookups (frequently really soon after) will be
faster
+ accounting+status json reporting for client_heard_list


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@366 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-30 21:56:07 +00:00
Heikki Hannikainen 7a8658fcfe + fix some tests to run on javaprssrvr
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@364 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-28 21:59:47 +00:00
Heikki Hannikainen 1ebc142d19 = support IPv6 fake IS server in the tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@355 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-17 22:50:05 +00:00
Heikki Hannikainen a207b3e1e6 + implemented 'multiro' uplinks: parallel read-only links to multiple
hubs, to be used for aprs.fi uplink aggregation
+ fixed passing packets from uplinks to clients


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@337 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-12 11:19:53 +00:00
Heikki Hannikainen f5f7bdca81 = tests: use javaprssrv from javaprssrvr/
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@331 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2010-08-15 12:15:22 +00:00
Heikki Hannikainen fdd2900378 + connected() method for IS.pm
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@328 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2010-05-06 05:08:39 +00:00
Heikki Hannikainen c4b51fa0de = IS.pm: fix SSID filtering in passcode calculation
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@322 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-10-05 07:00:54 +00:00
Heikki Hannikainen ddb2a982f2 = less debug log
+ a couple of test packets


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@321 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-09-16 07:30:59 +00:00
Heikki Hannikainen 0e0b622cad + duplicate checker tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@310 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-11 10:58:13 +00:00
Heikki Hannikainen adb4f0c468 = fix more Q construct tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@300 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-10 18:40:00 +00:00
Heikki Hannikainen f83a099b4d + istest module
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@299 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-10 18:17:17 +00:00
Heikki Hannikainen 48257cc155 + tests with timeouts
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@292 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-09 20:53:41 +00:00
Heikki Hannikainen 56a845a444 + more and more Q construct tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@290 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-05 10:05:53 +00:00
Heikki Hannikainen d54d5e2bf2 = fix running javaprssrvr product in tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@287 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-04 16:22:52 +00:00
Heikki Hannikainen 6e0cf83335 Added the Ham::APRS::IS module for testing. It's heavily cleaned up
from the tools/* scripts, documented, and reports errors more nicely.
Includes a connection retry logic (needed when the software takes
some time to start up). Added a login test, too.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@231 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-23 00:11:58 +00:00
Heikki Hannikainen 393d63c876 Moved test perl modules to tests/libperl
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@230 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 18:18:10 +00:00