annotate tests/test-tsearch.sh @ 40231:9b3c79fdfe0b

strtod: fix clash with strtold Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). * lib/strtod.c (compute_minus_zero, minus_zero): Simplify by remving the macro / external variable, and having just a function. User changed. This avoids the need for an external variable that might clash.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 11 Mar 2019 16:40:29 -0700
parents 8c1a17df67e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8534
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 #!/bin/sh
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 tmpfiles=""
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 trap 'rm -fr $tmpfiles' 1 2 3 15
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 tmpfiles="$tmpfiles t-tsearch.out"
40221
8c1a17df67e0 tests: Prepare for using valgrind.
Bruno Haible <bruno@clisp.org>
parents: 8534
diff changeset
7 ${CHECKER} ./test-tsearch${EXEEXT} > t-tsearch.out 2>&1
8534
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 test $? = 0 || { cat t-tsearch.out 1>&2; rm -f $tmpfiles; exit 1; }
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 rm -f $tmpfiles
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
342c23c60847 Tests for module 'tsearch'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 exit 0