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