author | Alberto Bertogli
<albertito@gmail.com> 2007-06-07 05:18:22 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-06-07 05:18:22 UTC |
parent | a02fc0cd6efc8bc3fb4f86c35c9e11089e0d7eeb |
tests/build.sh | +1 | -1 |
tests/prototypes.h | +3 | -0 |
diff --git a/tests/build.sh b/tests/build.sh index f8a96b0..2d8570b 100755 --- a/tests/build.sh +++ b/tests/build.sh @@ -33,7 +33,7 @@ case "$1" in esac; -for p in TIPC TCP MULT; do +for p in TIPC TCP UDP MULT; do for v in NORMAL CACHE SYNC; do OP=`echo $p-$v | tr '[A-Z]' '[a-z]'` CF="-DUSE_$p=1 -DUSE_$v=1" diff --git a/tests/prototypes.h b/tests/prototypes.h index af5f2eb..e0efcc2 100644 --- a/tests/prototypes.h +++ b/tests/prototypes.h @@ -23,6 +23,8 @@ #if USE_TCP #define NADDSRV(db) nmdb_add_tcp_server(db, "localhost", -1) +#elif USE_UDP + #define NADDSRV(db) nmdb_add_udp_server(db, "localhost", -1) #elif USE_TIPC #define NADDSRV(db) nmdb_add_tipc_server(db, -1) #elif USE_MULT @@ -30,6 +32,7 @@ do { \ nmdb_add_tipc_server(db, -1); \ nmdb_add_tcp_server(db, "localhost", -1); \ + nmdb_add_udp_server(db, "localhost", -1); \ } while (0) #endif