summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-22 12:07:34 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-22 12:07:34 -0500
commite71c7bb4dff26178f714cd0fcdbb3058effa4066 (patch)
treec783044f2a5e9ed1703076db1627d6e56989a3c6 /tests/basic
parent4c4ce4467921a05e70825edf2331d359dc63b879 (diff)
Fix how version number is saved/retrieved. Version is now stored in
VERSION file, which is created in the tarball target. This is then installed at /usr/share/monkeysphere/VERSION, and cat'ed when the version number is requested by the front-end ui. No more manual setting of version number required (to avoid future problems, aka "0.23.1"). This system is also more flexible, as the VERSION file could potentially hold more info than just the release number.
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/basic b/tests/basic
index 9308e21..b1fe9ed 100755
--- a/tests/basic
+++ b/tests/basic
@@ -138,22 +138,6 @@ export SOCKET="$TEMPDIR"/ssh-socket
# *anything* with any running X11 session.
export DISPLAY=monkeys
-## make sure that the version number matches the debian changelog
-## (don't bother if this is being run from the tests).
-
-if [ -f "$TESTDIR"/../packaging/debian/changelog ]; then
- echo
- echo "##################################################"
- echo "### checking version string match..."
- repver=$(monkeysphere version)
- debver=$(head -n1 "$TESTDIR"/../packaging/debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/')
- if [ "$repver" = "$debver" ] ; then
- echo "Versions match!"
- else
- printf "reported version string (%s) does not match debian changelog (%s)\n" "$repver" "$debver"
- exit 1
- fi
-fi
######################################################################
### CONFIGURE ENVIRONMENTS