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=911c3addd427d5bb89474adf16624387467d0530

commit 911c3addd427d5bb89474adf16624387467d0530
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jan 26 03:36:44 2011 +0100

    Fix t-disappear-depended test-case to fail
    
    Now that we don't run the failing test-cases on normal runs, let's make
    this one fail, so that we can track it properly. Fix too the cleanup for
    interrupted runs.
---
 t-disappear-depended/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/t-disappear-depended/Makefile b/t-disappear-depended/Makefile
index 67e2dd694..006f80709 100644
--- a/t-disappear-depended/Makefile
+++ b/t-disappear-depended/Makefile
@@ -8,15 +8,14 @@ test-case:
        $(DPKG_INSTALL) pkg-depend.deb
        $(DPKG_INSTALL) pkg-normal.deb
        # should not disappear while it's being depended on
-       # FIXME: the line below should not fail but it does currently
-       -test "`$(PKG_STATUS) pkg-disappear`" = "install ok installed"
+       test "`$(PKG_STATUS) pkg-disappear`" = "install ok installed"
        $(DPKG_PURGE) pkg-depend
        $(DPKG_INSTALL) pkg-normal.deb
        # should have been disappered now
-       # FIXME: the line below should not fail but it does currently
-       -test "`$(PKG_STATUS) pkg-disappear`" = "unknown ok not-installed"
+       test "`$(PKG_STATUS) pkg-disappear`" = "unknown ok not-installed"
 
 test-clean:
+       -$(DPKG_PURGE) pkg-depend
        -$(DPKG_PURGE) pkg-disappear
        $(DPKG_PURGE) pkg-normal
 

-- 
Dpkg.Org's dpkg

Reply via email to