[debian-edu-commits] debian-edu/upstream/ 01/01: Extend autopkgtest script to verify the entry made it to the server.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon May 16 11:30:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository sitesummary.

commit 171fdd3cb110fdbebe3512489e5094a3af5a3baf
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon May 16 13:30:14 2016 +0200

    Extend autopkgtest script to verify the entry made it to the server.
---
 debian/changelog                | 1 +
 debian/tests/test-server-client | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a2e4844..7d34729 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sitesummary (0.1.22) UNRELEASED; urgency=medium
 
   * Make sure to recommend hdparm, to have it available when running
     the system collector.
+  * Extend autopkgtest script to verify the entry made it to the server.
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 16 May 2016 13:20:33 +0200
 
diff --git a/debian/tests/test-server-client b/debian/tests/test-server-client
index 47ad875..16f9fa7 100644
--- a/debian/tests/test-server-client
+++ b/debian/tests/test-server-client
@@ -20,3 +20,10 @@ export LC_ALL
 sitesummary-client
 
 find /var/lib/sitesummary
+
+if find /var/lib/sitesummary | grep ether- ; then
+    echo success: found entry
+else
+    echo error: did not find entry
+    exit 1
+fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git



More information about the debian-edu-commits mailing list