mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
22 lines
378 B
Bash
22 lines
378 B
Bash
#! /bin/sh
|
|
# run.test - Check that hell is viable.
|
|
|
|
if test -z "$srcdir"; then
|
|
srcdir=.
|
|
test "${VERBOSE+set}" != "set" && VERBOSE=yes
|
|
fi
|
|
|
|
# See how redirections should work.
|
|
if test -z "$VERBOSE"; then
|
|
exec > /dev/null 2>&1
|
|
fi
|
|
|
|
echo "=== Running test $0"
|
|
|
|
# Attempt to execute the program we built.
|
|
if ./hell | grep 'GNU Hell' > /dev/null; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|