Skip to contentSkip to conversation

master - tests: unit test for percent printing

PATCH Zdenek Kabelac 1 participant 1 message Jun 24, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cefb8bcfc4daf56309038088325c056b0860d5a1
Commit:        cefb8bcfc4daf56309038088325c056b0860d5a1
Parent:        1bd4b0059bbfebe912115f0889e8f3489422f5fc
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Jun 24 13:33:36 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Jun 24 17:44:42 2017 +0200

tests: unit test for percent printing

---
 test/unit/Makefile.in |    1 +
 test/unit/percent_t.c |  101 +++++++++++++++++++++++++++++++++++++++++++++++++
 test/unit/run.c       |    1 +
 test/unit/units.h     |    3 +-
 4 files changed, 105 insertions(+), 1 deletions(-)
test/unit/Makefile.in +1 -0
index 7aa180f..3de30f2 100644
@@ -21,6 +21,7 @@ UNITS = \
 	dmlist_t.c\
 	dmstatus_t.c\
 	matcher_t.c\
+	percent_t.c\
 	string_t.c\
 	run.c
 
test/unit/percent_t.c new file +101 -0

101 lines not on this page · raw message

test/unit/run.c +1 -0
index 5364107..7372138 100644
@@ -18,6 +18,7 @@ CU_SuiteInfo suites[] = {
 	USE(dmlist),
 	USE(dmstatus),
 	USE(regex),
+	USE(percent),
 	USE(string),
 	CU_SUITE_INFO_NULL
 };
test/unit/units.h +2 -1
index 208ff7a..9eaa82f 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Red Hat, Inc. All rights reserved.
+ * Copyright (C) 2015-2017 Red Hat, Inc. All rights reserved.
  *
  * This file is part of LVM2.
  *
@@ -28,6 +28,7 @@ DECL(config);
 DECL(dmlist);
 DECL(dmstatus);
 DECL(regex);
+DECL(percent);
 DECL(string);
 
 #endif