This file has not been updated since version 2.3, and noone seems to care about it. Remove it. --- tests/version-check | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 tests/version-check 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 -- 2.4.6