]> Dogcows Code - chaz/tar/blob - tests/version.sh
Accomodate for the new testsuite logic
[chaz/tar] / tests / version.sh
1 #! /bin/sh
2 # Check if the proper version is being tested.
3
4 . ./preset
5
6 if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then
7 banner="Regression testing for GNU $PACKAGE, version $VERSION"
8 dashes=`echo $banner | sed s/./=/g`
9 echo $dashes
10 echo $banner
11 echo $dashes
12 else
13 echo '=============================================================='
14 echo 'WARNING: Not using the proper version, *all* checks dubious...'
15 echo '=============================================================='
16 exit 1
17 fi
This page took 0.040459 seconds and 5 git commands to generate.