From: Bart Van Assche Date: Sat, 26 Apr 2008 10:59:23 +0000 (+0000) Subject: Added regression test for Linux' syslog system call (called klogctl by glibc). X-Git-Tag: svn/VALGRIND_3_4_0~702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d1727957d428a763d836560ca67de783b41429a;p=thirdparty%2Fvalgrind.git Added regression test for Linux' syslog system call (called klogctl by glibc). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7921 --- diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index e75c2d38f6..c73e3cba30 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -65,6 +65,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \ leak-tree.stderr.exp2 leak-tree.stderr.exp64 \ leak-regroot.vgtest leak-regroot.stderr.exp \ leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ + linux-syslog-syscall linux-syslog-syscall.stderr.exp \ linux-syscalls-2007 linux-syscalls-2007.stderr.exp \ long_namespace_xml.vgtest long_namespace_xml.stdout.exp \ long_namespace_xml.stderr.exp \ @@ -171,6 +172,7 @@ check_PROGRAMS = \ doublefree error_counts errs1 exitprog execve execve2 erringfds \ fprw fwrite hello inits inline \ leak-0 leak-cycle leak-pool leak-tree leak-regroot leakotron \ + linux-syslog-syscall \ linux-syscalls-2007 \ long_namespace_xml \ lsframe1 lsframe2 \ diff --git a/memcheck/tests/linux-syslog-syscall.stderr.exp b/memcheck/tests/linux-syslog-syscall.stderr.exp new file mode 100644 index 0000000000..a268583356 --- /dev/null +++ b/memcheck/tests/linux-syslog-syscall.stderr.exp @@ -0,0 +1,8 @@ + +Done. + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 0 bytes in 0 blocks. +malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=yes +For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/linux-syslog-syscall.vgtest b/memcheck/tests/linux-syslog-syscall.vgtest new file mode 100644 index 0000000000..58e0afb1d6 --- /dev/null +++ b/memcheck/tests/linux-syslog-syscall.vgtest @@ -0,0 +1 @@ +prog: linux-syslog-syscall