|
Index of /~zoso/stuff/dpkg-tests
|
Name Last modified Size Description
Parent Directory 31-Oct-2004 18:18 -
dpkg-testsuite-cs.tar.bz2 14-Jan-2005 20:48 6k
old/ 14-Jan-2005 20:48 -
Testing framework for dpkg
--------------------------
*****************************************************************************
THIS IS OBSOLETE. THE DPKG TESTING FRAMEWORK IS NOW ON AN ARCH BRANCH. PLEASE
SEE http://people.debian.org/~zoso/arch/dpkg/dpkg--test/ AND ITS README FILES
FOR MORE INFORMATION.
*****************************************************************************
Initial proposal for a testing framework for dpkg. It uses Dejagnu as a base.
To check it out, apply the changeset tarred as dpkg-testsuite-cs.tar.bz2 to
dpkg--devel--1.13--patch-60.
After doing ./configure && make again, you should have a new target in the
Makefile: the "check" target.
When you type "make check", all the tests will be run. If there is any error,
it will complain and exit with non-zero status.
Currently, the following tests are written:
- dpkg.check: Generic "check" C unittest (not dpkg-related, just a random
example with an on-purpose error)
- scripts.filebased: Functional tests for dpkg-parsechangelog, with the aid
of *.input and *.expected files.
Requirements
------------
You have to install the "dejagnu" and "check" packages, available in sid.
Other files
-----------
The files in old/ are an old, dirtier version for an old dpkg. Kept for
historical reasons, probably not for too much time.
-- Esteban Manchado Velázquez