view tests/test-pipe-filter-gi1.sh @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents 8c1a17df67e0
children
line wrap: on
line source

#!/bin/sh

# Find a 'tr' program that supports character ranges in the POSIX syntax.
# Solaris /usr/bin/tr does not.
if test -f /usr/xpg6/bin/tr; then
  TR=/usr/xpg6/bin/tr
else
  if test -f /usr/xpg4/bin/tr; then
    TR=/usr/xpg4/bin/tr
  else
    TR=tr
  fi
fi

# A small file.
${CHECKER} ./test-pipe-filter-gi1${EXEEXT} ${TR} "${srcdir}/test-pipe-filter-gi1.sh" || exit 1
# A medium-sized file.
${CHECKER} ./test-pipe-filter-gi1${EXEEXT} ${TR} "${srcdir}/test-pipe-filter-gi1.c" || exit 1
# A large file.
${CHECKER} ./test-pipe-filter-gi1${EXEEXT} ${TR} "${srcdir}/test-vasnprintf-posix.c" || exit 1