mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
b54782e276
* tests/test-dprintf-gnu.sh: New file, based on tests/test-dprintf-posix.sh. * tests/test-dprintf-gnu.c: New file, based on tests/test-vasnprintf-gnu.c. * modules/dprintf-gnu-tests: New file, based on modules/dprintf-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-dprintf-gnu.tmp t-dprintf-gnu.out"
|
|
${CHECKER} ./test-dprintf-gnu${EXEEXT} > t-dprintf-gnu.tmp || exit 1
|
|
LC_ALL=C tr -d '\r' < t-dprintf-gnu.tmp > t-dprintf-gnu.out || exit 1
|
|
|
|
: "${DIFF=diff}"
|
|
${DIFF} "${srcdir}/test-printf-gnu.output" t-dprintf-gnu.out
|
|
result=$?
|
|
|
|
rm -fr $tmpfiles
|
|
|
|
exit $result
|