]> jfr.im git - irc/rizon/plexus4.git/commitdiff
Merge branch 'master+mode_test' into 'master'
authorAdam <redacted>
Fri, 4 Mar 2016 22:37:36 +0000 (22:37 +0000)
committerAdam <redacted>
Fri, 4 Mar 2016 22:37:36 +0000 (22:37 +0000)
tests: Add test for modes and bmasks

See merge request !12

1  2 
test/Makefile.am
test/plexus_test.h
test/test.c

index a3177854e332acfd07e932a00e6e2be930477631,647e0c9cd55413765244bd31f0c3fc80001952da..a85f3289a2a6368a02074e0e25433c424441f1b7
@@@ -16,7 -16,7 +16,8 @@@ check_plexus_SOURCES = 
        process.c \
        test.c \
        \
 +      tests/dnsbl.c \
        tests/invite.c \
        tests/join.c \
+       tests/mode.c \
        tests/upgrade.c
index fcd870761a8b7679fdd665cb5a56ee5899a0f62f,5f55658c392cceca2ac1bf7d54a383ba98ac7a85..a2b30d99a6acf957bf09a97e03c15f9289b0aa77
@@@ -55,6 -58,6 +58,7 @@@ extern void plexus_join_all_and_exit()
  
  extern void invite_setup(Suite *);
  extern void join_setup(Suite *);
+ extern void mode_setup(Suite *);
  extern void upgrade_setup(Suite *);
 +extern void dnsbl_setup(Suite *);
  
diff --cc test/test.c
index d29dec01a879ee76af55e963e7c5446053976972,50e1db7b908faeefd58384385b6c6f2acbdf72e7..56ba69abebe714e97f34af05f90038cba2e1148c
@@@ -11,8 -11,8 +11,9 @@@ static void add_testcases(Suite *s
  {
    invite_setup(s);
    join_setup(s);
+   mode_setup(s);
    upgrade_setup(s);
 +  dnsbl_setup(s);
  }
  
  int main()