From 5830fe2195f6e70a90aa6e0186633447a3e9e03d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 26 Feb 1997 05:12:21 +0000 Subject: [PATCH] Initial revision --- tests/version.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tests/version.sh diff --git a/tests/version.sh b/tests/version.sh new file mode 100755 index 0000000..7229069 --- /dev/null +++ b/tests/version.sh @@ -0,0 +1,18 @@ +#! /bin/sh +# Check if the proper version is being tested. + +. ./preset +PATH=../src:$PATH + +if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then + banner="Regression testing for GNU $PACKAGE, version $VERSION" + dashes=`echo $banner | sed s/./=/g` + echo $dashes + echo $banner + echo $dashes +else + echo '==============================================================' + echo 'WARNING: Not using the proper version, *all* checks dubious...' + echo '==============================================================' + exit 1 +fi -- 2.45.2