]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added regression test for Linux' syslog system call (called klogctl by glibc).
authorBart Van Assche <bvanassche@acm.org>
Sat, 26 Apr 2008 10:59:23 +0000 (10:59 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 26 Apr 2008 10:59:23 +0000 (10:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7921

memcheck/tests/Makefile.am
memcheck/tests/linux-syslog-syscall.stderr.exp [new file with mode: 0644]
memcheck/tests/linux-syslog-syscall.vgtest [new file with mode: 0644]

index e75c2d38f6218df4ba0ff95c8d52cd8a0748d38f..c73e3cba30f5024633340ada6ffc30ddd1e6d486 100644 (file)
@@ -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 (file)
index 0000000..a268583
--- /dev/null
@@ -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 (file)
index 0000000..58e0afb
--- /dev/null
@@ -0,0 +1 @@
+prog: linux-syslog-syscall