From: Nicholas Nethercote Date: Tue, 1 Oct 2002 11:45:34 +0000 (+0000) Subject: Moved `resolv' into the test-suite-proper. X-Git-Tag: svn/VALGRIND_1_9_4~272 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=124f1cd3503fddb2b7c44a3fbad3a59edab2afe4;p=thirdparty%2Fvalgrind.git Moved `resolv' into the test-suite-proper. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1155 --- diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index 4b33d07f03..ae1065017a 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -31,6 +31,7 @@ EXTRA_DIST = \ rcrl.stderr.exp rcrl.stderr.exp.hd rcrl.stdout.exp rcrl.vgtest \ readline1.stderr.exp readline1.stderr.exp.hd readline1.stdout.exp \ readline1.vgtest \ + resolv.stderr.exp resolv.stderr.exp.hd resolv.stdout.exp resolv.vgtest \ sha1_test.stderr.exp sha1_test.stderr.exp.hd sha1_test.vgtest \ shortpush.stderr.exp shortpush.stderr.exp.hd shortpush.vgtest \ shorts.stderr.exp shorts.stderr.exp.hd shorts.vgtest \ @@ -39,7 +40,7 @@ EXTRA_DIST = \ noinst_PROGRAMS = \ bitfield1 bt_everything bt_literal coolo_strlen \ cpuid dastest floored fork fucomip munmap_exe rcl_assert \ - rcrl readline1 sha1_test shortpush shorts smc1 \ + rcrl readline1 resolv sha1_test shortpush shorts smc1 \ pth_blockedsig \ coolo_sigaction gxx304 @@ -61,6 +62,7 @@ munmap_exe_SOURCES = munmap_exe.c rcl_assert_SOURCES = rcl_assert.S rcrl_SOURCES = rcrl.c readline1_SOURCES = readline1.c +resolv_SOURCES = resolv.c smc1_SOURCES = smc1.c sha1_test_SOURCES = sha1_test.c shortpush_SOURCES = shortpush.c diff --git a/tests/resolv.c b/none/tests/resolv.c similarity index 100% rename from tests/resolv.c rename to none/tests/resolv.c diff --git a/none/tests/resolv.stderr.exp b/none/tests/resolv.stderr.exp new file mode 100644 index 0000000000..139597f9cb --- /dev/null +++ b/none/tests/resolv.stderr.exp @@ -0,0 +1,2 @@ + + diff --git a/none/tests/resolv.stderr.exp.hd b/none/tests/resolv.stderr.exp.hd new file mode 100644 index 0000000000..26a574b8f1 --- /dev/null +++ b/none/tests/resolv.stderr.exp.hd @@ -0,0 +1,7 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 0 bytes in 0 blocks. +malloc/free: 1 allocs, 1 frees, 364 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=yes +For counts of detected errors, rerun with: -v diff --git a/none/tests/resolv.stdout.exp b/none/tests/resolv.stdout.exp new file mode 100644 index 0000000000..39ba10c3f4 --- /dev/null +++ b/none/tests/resolv.stdout.exp @@ -0,0 +1,2 @@ +PRE _res.nscount = 0 +POST _res.nscount = 3 diff --git a/none/tests/resolv.vgtest b/none/tests/resolv.vgtest new file mode 100644 index 0000000000..e8c1e29dc8 --- /dev/null +++ b/none/tests/resolv.vgtest @@ -0,0 +1 @@ +prog: resolv