serval-dna/tests
Andrew Bettison c8bf8a7733 Refactor JNI out of CLI and server main loop
The CLI and server main loop now have no conditional JNI code.  All JNI
code has been moved into separate source files, which #include the new
"jni_common.h" instead of <jni.h>.  The "cli.h" header no longer
includes <jni.h>, so the rest of the Serval source code is now
unaffected by JNI definitions.

The 'cf_limbo' global variable is now thread-local, so that each thread
has its own independent copy of the loaded configuration.  The JNI
server entry point now calls cf_init() once.  The new 'cf_initialised'
flag prevents clobbering the config state by redundant calls to
cf_init().

The CLI "stop" command now sends SIGHUP to the specific thread in which
the server is running.  This is achieved by writing the PID and TID
(Linux Thread ID) into the pidfile, separated by a space, on systems
that support the Linux gettid() and tgkill() system calls.  The server's
signal handler has been overhauled, and its logging improved.
2016-10-13 16:23:18 +10:30
..
testdata Add keyring back-compatibility test case 2013-04-29 15:11:04 +09:30
all Begin broadcast messaging service 2016-08-16 15:04:15 +09:30
compatibility Issue #20: remove unique socket names from tests 2013-09-20 14:24:55 +09:30
config Improve test framework 2016-10-13 16:01:22 +10:30
directory_service Establish a unicast link to a configured host on demand 2016-01-27 16:27:47 +10:30
dnahelper Fix test defs: pop_instance did not restore instance 2014-03-03 15:14:34 +10:30
dnaprotocol Migrate and refactor more interfaces from batphone 2014-02-19 15:35:08 +10:30
framework Improve test framework: assert_fork_is_running 2014-04-30 11:10:20 +09:30
jni Refactor JNI out of CLI and server main loop 2016-10-13 16:23:18 +10:30
keyring Use a random walk to find free keyring slots 2016-09-20 16:47:30 +09:30
keyringjava Add identity_t type & rename signing key api to identity. 2016-08-16 12:22:13 +09:30
keyringrestful Fix a failing keyringrestful test 2016-09-21 12:16:50 +09:30
logging Filesystem Heirarchy Standard (FHS) paths 2014-03-26 15:35:43 +10:30
mdp Improve MDP filter rules file syntax 2014-05-05 14:45:33 +09:30
meshmb Add simple meshmb find command 2016-08-29 11:06:53 +09:30
meshms Reduce redundant reading of message ply's 2016-08-23 14:28:13 +09:30
meshmsjava Reduce redundant reading of message ply's 2016-08-23 14:28:13 +09:30
meshmsrestful Fix a failing meshmsrestful test 2016-09-15 17:17:34 +09:30
msp Fix MSP test case after switching to nc6 2016-02-15 18:41:54 +10:30
rhizomeall Add 'rhizomeall' test script 2015-12-01 00:51:15 +10:30
rhizomechannels Rearrange interface config to support unicast settings 2015-03-23 13:35:22 +10:30
rhizomejava Move utility functions from 'rhizomejava' test to testdefs_java.sh 2015-08-31 19:16:30 +09:30
rhizomeops Simplify BK handling using new signing key typedefs 2016-09-27 15:20:12 +09:30
rhizomeprotocol Fix rhizomeprotocol test on OS-X 2016-09-12 15:09:46 +09:30
rhizomerestful Add a new rhizomerestful test case: update a bundle to empty payload 2016-09-19 14:30:04 +09:30
rhizomestress Rearrange interface config to support unicast settings 2015-03-23 13:35:22 +10:30
routing Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
server Add server status test case 2016-10-13 16:01:22 +10:30
vomp Fix vomp stun test after route print change 2016-03-07 16:11:27 +10:30