view tests/test-pread.sh @ 17921:58c1b50299a6

getopt: give accurate ambiguity diagnostic on mem exhaustion * lib/getopt.c (_getopt_internal_r): The previous commit broke out the loop too early, which could give a false indication of ambiguous options under memory exhaustion.
author Pádraig Brady <P@draigBrady.com>
date Wed, 18 Feb 2015 22:37:31 +0000
parents 44954971957b
children
line wrap: on
line source

#!/bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ .

fail=0
: | test-pread || fail=1

Exit $fail