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