]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added a regtest that uses pthreads -- there weren't any.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 30 Oct 2003 09:11:03 +0000 (09:11 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 30 Oct 2003 09:11:03 +0000 (09:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1966

memcheck/tests/Makefile.am
memcheck/tests/pth_once.stderr.exp [new file with mode: 0644]
memcheck/tests/pth_once.stdout.exp [new file with mode: 0644]
memcheck/tests/pth_once.vgtest [new file with mode: 0644]

index e6db9038a35e39a7c957af330a7284f8f89101f1..fb8b8a1461c4f039198a16c3a9b6e5cb263227b5 100644 (file)
@@ -44,6 +44,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        new_override.stderr.exp new_override.vgtest \
        null_socket.stderr.exp null_socket.vgtest \
        overlap.stderr.exp overlap.stdout.exp overlap.vgtest \
+       pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
        pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
        realloc1.stderr.exp realloc1.vgtest \
        realloc2.stderr.exp realloc2.vgtest \
diff --git a/memcheck/tests/pth_once.stderr.exp b/memcheck/tests/pth_once.stderr.exp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/memcheck/tests/pth_once.stdout.exp b/memcheck/tests/pth_once.stdout.exp
new file mode 100644 (file)
index 0000000..97e25d1
--- /dev/null
@@ -0,0 +1,22 @@
+welcome: Welcome
+identify_yourself: Hi, I'm thread # 0
+identify_yourself: Hi, I'm thread # 1
+identify_yourself: Hi, I'm thread # 2
+identify_yourself: Hi, I'm thread # 3
+identify_yourself: Hi, I'm thread # 4
+identify_yourself: Hi, I'm thread # 5
+identify_yourself: Hi, I'm thread # 6
+identify_yourself: Hi, I'm thread # 7
+identify_yourself: Hi, I'm thread # 8
+identify_yourself: Hi, I'm thread # 9
+main: joined to thread 0
+main: joined to thread 1
+main: joined to thread 2
+main: joined to thread 3
+main: joined to thread 4
+main: joined to thread 5
+main: joined to thread 6
+main: joined to thread 7
+main: joined to thread 8
+main: joined to thread 9
+main: Goodbye
diff --git a/memcheck/tests/pth_once.vgtest b/memcheck/tests/pth_once.vgtest
new file mode 100644 (file)
index 0000000..bc571a2
--- /dev/null
@@ -0,0 +1,2 @@
+prog: ../../corecheck/tests/pth_once
+vgopts: -q