[virt-tools-list] [PATCH 06/11] tests: fix test-filter failure

Jim Meyering jim at meyering.net
Fri Jan 29 14:58:47 UTC 2010


From: Jim Meyering <meyering at redhat.com>

* test/test-filter.c (main): Don't reference "filter"
after freeing it: remove the failing assertion.
---
 test/test-filter.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/test/test-filter.c b/test/test-filter.c
index e0191bd..3884fe3 100644
--- a/test/test-filter.c
+++ b/test/test-filter.c
@@ -154,7 +154,6 @@ int main(int argc, char** argv)
     printf("Freeing filter...\n");
     ret = osi_free_filter(filter);
     assert ( ret == 0 );
-    assert ( osi_is_error(filter) == 1 );

     /* Close library */
     printf("Closing library...\n");
-- 
1.7.0.rc0.187.g226c




More information about the virt-tools-list mailing list