mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* tests/test-fprintf-gnu.h (test_function): Use RETTYPE instead of 'int'. * tests/test-fprintf-gnu.c (RETTYPE): New macro. * tests/test-vdprintf-gnu.c (RETTYPE): New macro. * tests/test-vfprintf-gnu.c (RETTYPE): New macro. * tests/test-vdzprintf-gnu.c: New file, based on tests/test-vdzprintf-posix.c. * tests/test-vdzprintf-gnu.sh: New file, based on tests/test-vdzprintf-posix.sh. * modules/vdzprintf-gnu-tests: New file.
17 lines
397 B
Bash
Executable File
17 lines
397 B
Bash
Executable File
#!/bin/sh
|
|
|
|
tmpfiles=""
|
|
trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
|
|
|
|
tmpfiles="$tmpfiles t-vdzprintf-gnu.tmp t-vdzprintf-gnu.out"
|
|
${CHECKER} ./test-vdzprintf-gnu${EXEEXT} > t-vdzprintf-gnu.tmp || exit 1
|
|
LC_ALL=C tr -d '\r' < t-vdzprintf-gnu.tmp > t-vdzprintf-gnu.out || exit 1
|
|
|
|
: "${DIFF=diff}"
|
|
${DIFF} "${srcdir}/test-printf-gnu.output" t-vdzprintf-gnu.out
|
|
result=$?
|
|
|
|
rm -fr $tmpfiles
|
|
|
|
exit $result
|