#! /bin/sh

. ${srcdir:=.}/t.frame

# make sure we don't have SIGFPE aborts
# Solaris 2.6 returns -nan, we don't care.
./u_fpe > "$TMPDIR"/res
tr < "$TMPDIR/res" 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' \
| sed 's/^-//' > "$TMPDIR"/res.lc
cmp - "$TMPDIR/res.lc" <<_EOF
nan
inf
_EOF
