debian/0000755000000000000000000000000011733634505007175 5ustar debian/shunit2.examples0000644000000000000000000000002211627644103012320 0ustar examples.debian/* debian/shunit2.manpages0000644000000000000000000000002111627644103012274 0ustar debian/shunit2.1 debian/changelog0000644000000000000000000000247711733576260011064 0ustar shunit2 (2.1.6-1) unstable; urgency=low * New upstream version. * Bump standards version. * Replace shunit2 wrapper with upstream script. (Closes: #601956) * Add DM-Upload-Allowed to source package. -- Ulrich Dangel Sun, 25 Mar 2012 12:09:23 +0200 shunit2 (2.1.5-3) unstable; urgency=low * Support zsh in shunit2 wrapper. -- Ulrich Dangel Sun, 01 Aug 2010 02:04:26 +0200 shunit2 (2.1.5-2) unstable; urgency=low * Install a wrapper for shunit2 in /usr/bin * Include shunit2 examples. (Closes: #588629) * Updated copyright. -- Ulrich Dangel Thu, 29 Jul 2010 23:12:44 +0200 shunit2 (2.1.5-1) unstable; urgency=low * Overtook package, changed Maintainer field. * Do not use upstream make file as upstream already deleted it. * Updated watch file. * Initial release. (Closes: #559388) -- Ulrich Dangel Fri, 04 Dec 2009 00:05:33 +0100 shunit2 (2.1.2-1.1) unstable; urgency=high * Non-maintainer upload. * Use CURDIR instead of PWD in top level Makefile. (Closes: #472111) * Set Architecture: all. (Closes: #473749) -- Christoph Berg Tue, 01 Apr 2008 14:20:07 +0200 shunit2 (2.1.2-1) unstable; urgency=low * Initial release (Closes: #456140) -- Cai Qian Sat, 09 Feb 2008 02:42:04 -0500 debian/compat0000644000000000000000000000000211733570443010373 0ustar 9 debian/rules0000755000000000000000000000112211733633673010256 0ustar #!/usr/bin/make -f # -*- makefile -*- UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') %: dh $@ override_dh_auto_build-indep: cp -r examples examples.debian a2x -a revnumber=$(UPSTREAM_VERSION) -L -fmanpage debian/shunit2.1.txt find examples.debian -type f -print0 | xargs -0r sed -i -e "s#../src/##g" override_dh_installchangelogs: dh_installchangelogs doc/RELEASE_NOTES-$(UPSTREAM_VERSION).txt override_dh_auto_test: cd src && ./shunit2_test.sh override_dh_clean: rm -f debian/shunit2.1 debian/shunit2.1.xml rm -rf examples.debian dh_clean debian/shunit2.1.txt0000644000000000000000000000252311733570443011473 0ustar shunit2(1) ========== Name ---- shunit2 - A unit test framework for shell scripts Synopsis -------- shunit2 unitfile Description ------------ shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc.. If you have ever had the desire to write a unit test for a shell script, shUnit2 can do the job. You can either run *shunit2* directly from the commandline and specify the unit file or directly source the *shunit2* executable. If you directly execute *shunit2* and *don't* specify a unitfile shunit2 assumes a empty testfile and will return without an error message. Example -------- Simple script to test if 1 equals 1 ---- #! /bin/sh testEquality() { assertEquals 1 1 } # load shunit2 . shunit2 ---- Execute shUnit2 unit tests directly from the commandline ---- shunit2 /path/to/unit/file ---- Options ------- *shunit2* does not support any commandline options at all. You can either source shunit2 to execute your unit tests or directly run shunit2 as a commandline script. See also -------- For more information see http://code.google.com/p/shunit2/ or have a look at the installed documentation in /usr/share/doc/shunit2/ Author ------ *shunit2* was written by Kate Ward . This manpage was written by Ulrich Dangel . debian/shunit2.doc-base0000644000000000000000000000105611733570443012172 0ustar Document: shunit2-manual Title: shUnit2 2.1.x Documentation Author: Kate Ward Abstract: shUnit2 Documentation shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc.. If you have ever had the desire to write a unit test for a shell script, shUnit2 can do the job. Section: Programming Format: text Files: /usr/share/doc/shunit2/shunit2.txt.gz Format: HTML Index: /usr/share/doc/shunit2/shunit2.html Files: /usr/share/doc/shunit2/shunit2.html debian/control0000644000000000000000000000114411733634502010575 0ustar Source: shunit2 Section: devel Priority: optional Maintainer: Ulrich Dangel Build-Depends: debhelper (>= 9) Build-Depends-Indep: asciidoc, docbook-xsl, pdksh, xsltproc, zsh Standards-Version: 3.9.3 Homepage: http://code.google.com/p/shunit2/ DM-Upload-Allowed: yes Package: shunit2 Architecture: all Depends: ${misc:Depends} Description: unit test framework for Bourne based shell scripts shUnit2 was originally developed to provide a consistent testing solution for log4sh, a shell based logging framework similar to log4j. It is designed to work in a similar manner to JUnit, PyUnit, etc. debian/dirs0000644000000000000000000000005611627644103010057 0ustar usr/bin usr/share/shunit2 usr/share/doc-base/ debian/watch0000644000000000000000000000011011733606561010217 0ustar version=3 http://googlecode.debian.net/p/shunit2/shunit2-([\d\.]*)\.tgz debian/source/0000755000000000000000000000000011733620313010465 5ustar debian/source/format0000644000000000000000000000001411733620313011673 0ustar 3.0 (quilt) debian/shunit2.install0000644000000000000000000000002411733634502012152 0ustar src/shunit2 usr/bin debian/shunit2.links0000644000000000000000000000005411733570443011632 0ustar /usr/bin/shunit2 /usr/share/shunit2/shunit2 debian/copyright0000644000000000000000000000222011733634502011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: shUnit2 Source: http://code.google.com/p/shunit2/ Files: * Copyright: 2007 - 2012 Kate Ward License: LGPL-2.1+ Files: debian/* Copyright: 2008 - 2009 Cai Qian 2009 - 2012 Ulrich Dangel License: LGPL-2.1+ License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package 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 Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". debian/docs0000644000000000000000000000046711733570443010057 0ustar doc/CHANGES-2.1.txt doc/design_doc.txt doc/contributors.txt doc/README.html doc/README.txt doc/RELEASE_NOTES-2.1.6.txt doc/RELEASE_NOTES-2.1.5.txt doc/RELEASE_NOTES-2.1.2.txt doc/RELEASE_NOTES-2.1.1.txt doc/RELEASE_NOTES-2.1.0.txt doc/shunit2.html doc/rst2html.css doc/TODO.txt doc/shunit2.html doc/shunit2.txt