gfs2-utils: RHEL7 - Revert "gfs2-utils tests: Fix unit tests for RHEL7"

Andrew Price andyp at fedoraproject.org
Tue Apr 7 21:22:10 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=f2efdb703a9b6f4ec9c5382df16d47e058fc63c7
Commit:        f2efdb703a9b6f4ec9c5382df16d47e058fc63c7
Parent:        0ae4bfefaaa4915f267ef0533ebc53d44ea4369e
Author:        Andrew Price <anprice at redhat.com>
AuthorDate:    Fri Feb 20 11:12:21 2015 +0000
Committer:     Andrew Price <anprice at redhat.com>
CommitterDate: Wed Apr 1 16:51:34 2015 +0100

Revert "gfs2-utils tests: Fix unit tests for RHEL7"

This reverts commit 9142cd526adfb9739b92419fc1faa0b4730e936d which was
an intermediate, RHEL7-only solution for the check-devel API mismatch
and has been obsoleted by 77322cb8c8d4a87a52cfeb6db781ac30da0b2edb
("gfs2-utils/tests: Fix unit tests for older check libraries") in the
master branch.

Signed-off-by: Andrew Price <anprice at redhat.com>
---
 tests/check_rgrp.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/tests/check_rgrp.c b/tests/check_rgrp.c
index 36dffe4..e5fca8d 100644
--- a/tests/check_rgrp.c
+++ b/tests/check_rgrp.c
@@ -5,10 +5,6 @@
 // TODO: Remove this when the extern is removed from libgfs2
 void print_it(const char *label, const char *fmt, const char *fmt2, ...) {}
 
-/* Older check-devel doesn't have these functions */
-#define ck_assert_ptr_ne(ptr, val) fail_unless(ptr != val)
-#define ck_assert_uint_eq(u1, u2) fail_unless(u1 == u2)
-
 static lgfs2_rgrps_t mockup_rgrp(void)
 {
 	struct gfs2_sbd *sdp;


More information about the cluster-commits mailing list