From 4b90a2e668d01e37d82560bc2cd61f99163193cf Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 1 Dec 2018 08:42:55 -0800 Subject: [PATCH] Add drd/tests/fork-serial and drd/tests/fork-parallel --- drd/tests/Makefile.am | 4 ++++ drd/tests/fork-parallel.stderr.exp | 5 +++++ drd/tests/fork-parallel.vgtest | 3 +++ drd/tests/fork-serial.stderr.exp | 5 +++++ drd/tests/fork-serial.vgtest | 3 +++ 5 files changed, 20 insertions(+) create mode 100644 drd/tests/fork-parallel.stderr.exp create mode 100644 drd/tests/fork-parallel.vgtest create mode 100644 drd/tests/fork-serial.stderr.exp create mode 100644 drd/tests/fork-serial.vgtest diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 99dfefa30..fec3f466a 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -109,6 +109,10 @@ EXTRA_DIST = \ dlopen.stderr.exp \ dlopen.stdout.exp \ dlopen.vgtest \ + fork-serial.stderr.exp \ + fork-serial.vgtest \ + fork-parallel.stderr.exp \ + fork-parallel.vgtest \ fp_race.stderr.exp \ fp_race.stderr.exp-mips32-be \ fp_race.stderr.exp-mips32-le \ diff --git a/drd/tests/fork-parallel.stderr.exp b/drd/tests/fork-parallel.stderr.exp new file mode 100644 index 000000000..54b766609 --- /dev/null +++ b/drd/tests/fork-parallel.stderr.exp @@ -0,0 +1,5 @@ + +/bin/ls +/bin/ls + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/drd/tests/fork-parallel.vgtest b/drd/tests/fork-parallel.vgtest new file mode 100644 index 000000000..0943f8bc8 --- /dev/null +++ b/drd/tests/fork-parallel.vgtest @@ -0,0 +1,3 @@ +prereq: ./supported_libpthread +vgopts: --check-stack-var=yes --read-var-info=yes --show-confl-seg=no +prog: fork 1 diff --git a/drd/tests/fork-serial.stderr.exp b/drd/tests/fork-serial.stderr.exp new file mode 100644 index 000000000..54b766609 --- /dev/null +++ b/drd/tests/fork-serial.stderr.exp @@ -0,0 +1,5 @@ + +/bin/ls +/bin/ls + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/drd/tests/fork-serial.vgtest b/drd/tests/fork-serial.vgtest new file mode 100644 index 000000000..94ca16835 --- /dev/null +++ b/drd/tests/fork-serial.vgtest @@ -0,0 +1,3 @@ +prereq: ./supported_libpthread +vgopts: --check-stack-var=yes --read-var-info=yes --show-confl-seg=no +prog: fork -- 2.11.4.GIT