[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



From: Jim Meyering <meyering 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]