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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=263cccc43d85f7e29de25ee7b495b7f6c083f11c

commit 263cccc43d85f7e29de25ee7b495b7f6c083f11c
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Feb 22 05:07:28 2012 +0100

    t-option-dry-run: Purge pkg-normal before starting the tests
---
 t-option-dry-run/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/t-option-dry-run/Makefile b/t-option-dry-run/Makefile
index ee60eb5a6..d4a0880a1 100644
--- a/t-option-dry-run/Makefile
+++ b/t-option-dry-run/Makefile
@@ -3,6 +3,9 @@ TESTS_DEB := pkg-normal
 include ../Test.mk
 
 test-case:
+       # Make sure the package is not there
+       $(DPKG_PURGE) pkg-normal
+       
        # Simulate unpacking a package
        $(DPKG_UNPACK) --dry-run pkg-normal.deb
        $(call pkg_is_not_installed,pkg-normal)

-- 
Dpkg.Org's dpkg

Reply via email to