mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
57e16895ad
* tests/test-vprintf-gnu.sh: New file, based on tests/test-vprintf-posix.sh. * tests/test-vprintf-gnu.c: New file, based on tests/test-vprintf-posix.c. * tests/test-printf-gnu.h: New file, based on tests/test-vasnprintf-gnu.c. * modules/vprintf-gnu-tests: New file, based on modules/vprintf-posix-tests.
17 lines
383 B
Bash
Executable File
17 lines
383 B
Bash
Executable File
#!/bin/sh
|
|
|
|
tmpfiles=""
|
|
trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
|
|
|
|
tmpfiles="$tmpfiles t-vprintf-gnu.tmp t-vprintf-gnu.out"
|
|
${CHECKER} ./test-vprintf-gnu${EXEEXT} > t-vprintf-gnu.tmp || exit 1
|
|
LC_ALL=C tr -d '\r' < t-vprintf-gnu.tmp > t-vprintf-gnu.out || exit 1
|
|
|
|
: "${DIFF=diff}"
|
|
${DIFF} "${srcdir}/test-printf-gnu.output" t-vprintf-gnu.out
|
|
result=$?
|
|
|
|
rm -fr $tmpfiles
|
|
|
|
exit $result
|