--- /dev/null
+debian/autodebtest
+debian/tmp
+debian/files
--- /dev/null
+autodebtest, a tool for testing Debian binary packages
+
+autodebtest is Copyright (C) 2006 Canonical Ltd.
+autodebtest was written by Ian Jackson for Canonical.
+
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA.
+
+You can contact Canonical at XXX
--- /dev/null
+# This file is part of autodebtest
+# autodebtest is a tool for testing Debian binary packages
+#
+# autodebtest is Copyright (C) 2006 Canonical Ltd.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# See the file CREDITS for a full list of credits information (often
+# installed as /usr/share/doc/autodebtest/CREDITS).
+
+prefix = /usr/local
+share = $(prefix)/share
+bindir = $(prefix)/bin
+mandir = $(share)/man
+man1dir = $(mandir)/man1
+docdir = $(share)/doc/autodebtest
+
+INSTALL = install
+INSTALL_DIRS = $(INSTALL) -d
+INSTALL_PROGRAM = $(INSTALL) -m 0755
+INSTALL_DOC = $(INSTALL)
+
+programs = virt-chroot/adt-virt-chroot \
+ runner/adt-run
+
+install:
+ $(INSTALL_DIRS) -d $(bindir) $(docdir)
+ set -e; for f in $(programs); do \
+ $(INSTALL_PROGRAM) $$f $(bindir); \
+ test ! -f $$f.1 || $(INSTALL_DOC) $$f.1 $(man1dir); \
+ done
+ $(INSTALL_DOC) CREDITS debian/changelog $(docdir)
--- /dev/null
+usr/share/doc/autodebtest/copyright usr/share/doc/autodebtest/CREDITS
--- /dev/null
+autodebtest (0.5.0) dapper unstable; urgency=low
+
+ * Initial release of (still largely proof-of-concept) automatic binary
+ package testing framework.
+
+ -- Ian Jackson <iwj@ubuntu.com> Fri, 20 Jan 2006 17:56:55 +0000
--- /dev/null
+Source: autodebtest
+Maintainer: Ian Jackson <iwj@ubuntu.com>
+Section: devel
+Priority: optional
+Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 4.0.2)
+
+Package: autodebtest
+Architecture: all
+Depends: python2.4
+Description: automatic as-installed testing for Debian packages
+ autodebtest runs tests on binary packages. The tests are run on the
+ package as installed on a testbed system (which may be found via a
+ virtualisation or containment system). The tests are expected to be
+ supplied in the corresponding Debian source package. See adt-run(1)
+ and /usr/share/doc/autodebtest.
+ .
+ Status: this release is still pretty much a proof of concept.
--- /dev/null
+
+For a copy of the GNU General Public Licence, version 2,
+ see /usr/share/common-licenses/GPL.
--- /dev/null
+#!/usr/bin/make -f
+#
+# This file is part of autodebtest
+# autodebtest is a tool for testing Debian binary packages
+#
+# autodebtest is Copyright (C) 2006 Canonical Ltd.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# See the file CREDITS for a full list of credits information (often
+# installed as /usr/share/doc/autodebtest/CREDITS).
+
+p=autodebtest
+
+build build-arch build-indep:
+binary-arch:
+
+binary binary-indep: checkdir
+ dh_testroot
+ dh_clean
+ dh_installdirs usr
+
+ $(MAKE) install prefix=debian/$p/usr
+
+ cat CREDITS debian/copyright.suffix \
+ >debian/$p/usr/share/doc/$p/copyright
+ dh_compress
+ dh_link
+ dh_md5sums
+ dh_fixperms
+ dh_gencontrol
+ dh_builddeb
+
+clean: checkdir
+ dh_testroot
+ dh_clean
+
+checkdir:
+ dh_testdir runner/adt-run
+
# 16 testbed failure
# 20 other unexpected failures including bad usage
+# adt-run is part of autodebtest
+# autodebtest is a tool for testing Debian binary packages
+#
+# autodebtest is Copyright (C) 2006 Canonical Ltd.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# See the file CREDITS for a full list of credits information (often
+# installed as /usr/share/doc/autodebtest/CREDITS).
+
import signal
import optparse
import tempfile
# uses GAINROOT chroot
# GAINROOT will be split up if it has spaces
+# adt-virt-chroot is part of autodebtest
+# autodebtest is a tool for testing Debian binary packages
+#
+# autodebtest is Copyright (C) 2006 Canonical Ltd.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# See the file CREDITS for a full list of credits information (often
+# installed as /usr/share/doc/autodebtest/CREDITS).
+
import sys
import os
import string
+++ /dev/null
-open
-copydown /u/ian/junk/d/pikdev-0.8.0/admin/ zork/
-copydown test-input zork/foo
-execute ls,-l,zork /dev/null out err
-copyup out /dev/tty
-copyup out outh
-copyup err errh
-copyup zork/ zork-up/
-quit