got wildcard search for self test functioning.

This commit is contained in:
gardners 2012-06-21 13:36:27 +09:30
parent 2aa06ea84b
commit 2a6cdc0389

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 "$@"