Commit Graph

197 Commits

Author SHA1 Message Date
Heikki Hannikainen 35f589d40a added htlat input file for status.json bombing
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@401 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-05 06:39:25 +00:00
Heikki Hannikainen 332da2c956 Fixes to match new Q construct processing. Use proper login process in the
fake IS server so that the servers feel at home with it.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@390 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:45:44 +00:00
Heikki Hannikainen cc2891faeb = quiet debug print from tests Makefile
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@389 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:44:50 +00:00
Heikki Hannikainen ac2124f87b messaging test: implement tests for courtesy positions
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@388 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:44:28 +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 af7c2af110 nmea parser test: don't add random junk to end of NMEA packet, so that
javaprssrvr will properly parse it and pass it according to the filter.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@385 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-04 14:42:33 +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 d7965b0673 Tests: disable qconstr-unverified tests now, as there are no
unverified clients allowed for the time being.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@377 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-02 17:48:04 +00:00
Heikki Hannikainen edfa838f85 qconstr-verified: update test according to javaprssrvr 4.0 changes
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@376 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-06-02 17:47:37 +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 ec67313248 + Almost completely implement messaging support for aprsc: keep
track of heard stations per client, and pass messages to them.
With tests. Expiration missing, and courtesy posits.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@365 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-29 21:12:59 +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 98d039c430 = switch all tests to use custom ports which are less likely to overlap
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@363 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-28 21:38:25 +00:00
Heikki Hannikainen cd8145738b + more q construct tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@356 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-17 22:50:20 +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 dcd8259c0e + implemented client and server inactivity timeouts
+ test cases for both client and server inactivity timeouts
= tuned log messages


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@345 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-13 16:42:11 +00:00
Heikki Hannikainen 6777a0bb68 = dupefilter_storetime is no longer a configurable item - fixed in 30
seconds, so that users can't accidentally break the standard
= other sensible defaults too


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@343 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-12 21:11:56 +00:00
Heikki Hannikainen d2e058acca = aggregator test case now validates that dupe filtering for two upstreams works OK
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@340 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-05-12 20:26:54 +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 6b7b455b61 + additional comments in test scripts
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@332 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2010-08-15 12:32:37 +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 073e35be38 + a little NMEA testing
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@323 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-10-05 07:30:36 +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 996ec423a9 + basic tests for filters
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@313 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-09-13 17:50:14 +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 acc413e89b = fixed qAO test to match algorithm and implementations
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@308 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-11 10:24:49 +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 87685ad304 + better "should drop this packet" test
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@298 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-10 18:17:08 +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 86b30360aa + new q constr tests with verified clients
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@289 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-05 08:41:26 +00:00
Heikki Hannikainen 08fcee389f + new tests with unverified clients
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@288 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2009-03-05 08:40:56 +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
Heikki Hannikainen 7c66279474 Changed runproduct to use an OO interface, allowing multiple copies to be run
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@228 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:30:29 +00:00
Heikki Hannikainen 40a8a9e162 More basic aprsc config
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@227 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:29:58 +00:00
Heikki Hannikainen f5b4f783ba + javaaprssrvr config file
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@226 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:29:43 +00:00
Heikki Hannikainen 2cbd724d77 Disable uplink and remove myhostname
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@221 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:12:17 +00:00
Heikki Hannikainen 6ce9dfa388 Some initial work for a test suite.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@215 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:36:43 +00:00