tests: add msgbuf_parse tests
This commit is contained in:
parent
f3564f47f4
commit
05a16d98e1
5 changed files with 3419 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -56,6 +56,7 @@ ircd/version.c
|
|||
ircd/version.c.last
|
||||
ssld/ssld
|
||||
wsockd/wsockd
|
||||
tests/msgbuf_parse1
|
||||
tests/runtests
|
||||
testsuite/ircd.pid.*
|
||||
tools/charybdis-mkpasswd
|
||||
|
|
|
@ -66,7 +66,7 @@ msgbuf_unescape_value(char *value)
|
|||
|
||||
if (unescape) {
|
||||
*out++ = unescape;
|
||||
*in++;
|
||||
in++;
|
||||
} else {
|
||||
*out++ = *in++;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
check_PROGRAMS = runtests
|
||||
check_PROGRAMS = runtests \
|
||||
msgbuf_parse1
|
||||
AM_CFLAGS=$(WARNFLAGS)
|
||||
AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
|
||||
AM_LDFLAGS = -no-install
|
||||
|
@ -13,5 +14,7 @@ check_LIBRARIES = tap/libtap.a
|
|||
tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
|
||||
tap/float.c tap/float.h tap/macros.h
|
||||
|
||||
msgbuf_parse1_SOURCES = msgbuf_parse1.c
|
||||
|
||||
check-local: $(check_PROGRAMS)
|
||||
./runtests -l $(abs_top_srcdir)/tests/TESTS
|
||||
|
|
|
@ -1 +1 @@
|
|||
#
|
||||
msgbuf_parse1
|
||||
|
|
3412
tests/msgbuf_parse1.c
Normal file
3412
tests/msgbuf_parse1.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue