mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
Add help / version output jni test
This commit is contained in:
parent
3f76505e21
commit
98dcd973ec
@ -77,5 +77,13 @@ test_NullArg() {
|
||||
assertStderrGrep 'NullPointerException: null element in argv'
|
||||
}
|
||||
|
||||
doc_help="Serval JNI returns help text"
|
||||
test_help() {
|
||||
execute --core-backtrace java "-Djava.library.path=$LD_LIBRARY_PATH" -classpath "$PWD/classes" org.servalproject.servald.ServalD 'help'
|
||||
tfw_cat --stdout --stderr
|
||||
assertExitStatus '==' 0
|
||||
assertStdoutGrep 'Serval DNA version '
|
||||
}
|
||||
|
||||
|
||||
runTests "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user