File: test-printf-posix.sh

package info (click to toggle)
gnulib 20140202%2Bstable-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 63,340 kB
  • ctags: 21,125
  • sloc: ansic: 241,758; sh: 21,791; cpp: 1,551; yacc: 1,252; perl: 807; makefile: 324; lisp: 271; java: 5
file content (16 lines) | stat: -rwxr-xr-x 370 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15

tmpfiles="$tmpfiles t-printf-posix.tmp t-printf-posix.out"
./test-printf-posix${EXEEXT} > t-printf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-printf-posix.tmp > t-printf-posix.out || exit 1

: ${DIFF=diff}
${DIFF} "${srcdir}/test-printf-posix.output" t-printf-posix.out
result=$?

rm -fr $tmpfiles

exit $result