mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-26 22:10:09 +00:00
got wildcard search for self test functioning.
This commit is contained in:
parent
2aa06ea84b
commit
2a6cdc0389
7
tests/dnaprotocol
Normal file → Executable file
7
tests/dnaprotocol
Normal file → Executable file
@ -48,13 +48,14 @@ setup_servald_instance() {
|
||||
start_servald_server
|
||||
}
|
||||
|
||||
doc_ServerStartCreateInstanceDir="DNA lookup of wildcard finds self"
|
||||
setup_ServerStartCreateInstanceDir() {
|
||||
doc_DNAWildcardSearchFindsSelf="DNA lookup of wildcard finds self"
|
||||
setup_DNAWildcardSearchFindsSelf() {
|
||||
setup
|
||||
}
|
||||
test_ServerStartCreateInstanceDir() {
|
||||
test_DNAWildcardSearchFindsSelf() {
|
||||
setup_servald_instance
|
||||
executeOk_servald dna lookup "\*"
|
||||
assertStdoutLineCount '==' 1
|
||||
}
|
||||
|
||||
runTests "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user