summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2015-07-16 09:15:05 +0200
committerKyle Keen <keenerd@gmail.com>2016-01-31 15:57:33 -0500
commit093d16dd3f32acd888398152806858d116b30d93 (patch)
tree525989ca965d0dcba7a30840eaa07e5ec6a9849d
parenteda85e92d1e58c2847569544822f22b8bb500743 (diff)
downloadnamcap-093d16dd3f32acd888398152806858d116b30d93.tar.gz
namcap-093d16dd3f32acd888398152806858d116b30d93.zip
Remove obsolete version test
This file has not been updated since version 2.3, and noone seems to care about it. Remove it. Signed-off-by: Kyle Keen <keenerd@gmail.com>
-rwxr-xr-xtests/version-check26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/version-check b/tests/version-check
deleted file mode 100755
index 3edb4ac..0000000
--- a/tests/version-check
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-# This file is part of the namcap test suite.
-# It checks whether the version in namcap is the
-# same throughout the program and documentation.
-# Author: Abhishek Dasgupta <abhidg@gmail.com>
-# License: GPL
-
-VERSION=2.3
-
-die() { echo "$1"; exit 1; }
-
-setup_version() {
- grep version ../setup.py | awk -F '=' '{print $2}' | sed "s/\"//g;s/,//g"
-}
-
-manpage_version() {
- head -n 1 ../namcap.1 | awk -F '\"' '{print $4}' | awk '{print $2}'
-}
-
-if [ "$VERSION" != "$(setup_version)" ]; then
- die "setup.py version not updated to $VERSION."
-fi
-
-if [ "$VERSION" != "$(manpage_version)" ]; then
- die "Manual page version not updated to $VERSION."
-fi