view tests/unistdio/test-u32-vasnprintf2.sh @ 17082:62741e75b7c5

poll/select: document portability problems not fixed by Gnulib. * doc/posix-functions/poll.texi: poll does not work well on pipes under Windows. It has the same limitations as select on BeOS. * doc/posix-functions/select.texi: select does not work well on pipes under Windows.
author Paolo Bonzini <pbonzini@redhat.com>
date Thu, 13 Sep 2012 08:51:16 +0200
parents 870029929d86
children
line wrap: on
line source

#!/bin/sh

# Test whether a traditional french locale is installed.
: ${LOCALE_FR=fr_FR}
if test $LOCALE_FR != none; then
  testlocale=$LOCALE_FR
else
  if test -f /usr/bin/localedef; then
    echo "Skipping test: no traditional french locale is installed"
  else
    echo "Skipping test: no traditional french locale is supported"
  fi
  exit 77
fi

LC_ALL=$testlocale \
./test-u32-vasnprintf1${EXEEXT} \
  || exit 1

LC_ALL=$testlocale \
./test-u32-vasnprintf2${EXEEXT}