]> Dogcows Code - chaz/tar/commitdiff
Initial revision
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Feb 1997 05:12:21 +0000 (05:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Feb 1997 05:12:21 +0000 (05:12 +0000)
tests/version.sh [new file with mode: 0755]

diff --git a/tests/version.sh b/tests/version.sh
new file mode 100755 (executable)
index 0000000..7229069
--- /dev/null
@@ -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
This page took 0.023142 seconds and 4 git commands to generate.