Hash :
2ef92786
Author :
Date :
2012-02-23T21:40:02
Add a new test: test-fdleak which tests for fd leaks by creating many sockets. This test opens a server socket, and forks a child which connects to that server socket many times. It sets a low number for the max open file limit to catch any file descriptor leaks. It would not work on Windows since it uses fork() to be able to create both the server and the clients.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
### These files should get ignored no matter where they appear.
# Editors leave these lying around
\#*\#
.#*
*~
*.swp
# C stuff
*.o
# Windows stuff
*.obj
*.exe
*.lib
# Patch leaves these lying arround
*.orig
*.rej
# gcov stuff
*.gcno
*.gcov
*.gcda
# Autotools stuff
.deps
Makefile
Makefile.in
# Libtool stuff
.libs
*.lo
*.la
# ctags stuff
TAGS
# Stuff made by our makefiles
libevent.pc
libevent_pthreads.pc
libevent_openssl.pc
## The initial / makes these files only get ignored in particular directories.
/autom4te.cache
# Libtool adds these, at least sometimes
/m4/libtool.m4
/m4/ltoptions.m4
/m4/ltsugar.m4
/m4/ltversion.m4
/m4/lt~obsolete.m4
/aclocal.m4
/compile
/doxygen
/config.guess
/config.log
/config.status
/config.sub
/configure
/depcomp
/config.h
/config.h.in
/install-sh
/libtool
/ltmain.sh
/missing
/stamp-h1
/stamp-h2
/include/event2/event-config.h
/evconfig-private.h
/sample/dns-example
/sample/event-test
/sample/hello-world
/sample/http-server
/sample/le-proxy
/sample/signal-test
/sample/time-test
/test/bench
/test/bench_cascade
/test/bench_http
/test/bench_httpclient
/test/regress
/test/regress.gen.c
/test/regress.gen.h
/test/rpcgen-attempted
/test/test-eof
/test/test-init
/test/test-ratelim
/test/test-time
/test/test-weof
/test/test-changelist
/test/test-fdleak