Skip to contentSkip to conversation

master - [unit-test/radix-tree] Add a huge test case

PATCH Joe Thornber 1 participant 1 message Sep 20, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ba6d8a319515b7c156999cc978c49d969a2b14a6
Commit:        ba6d8a319515b7c156999cc978c49d969a2b14a6
Parent:        bb17302084192bd06facc5f6501206c3ab21b3a1
Author:        Joe Thornber <[email protected]>
AuthorDate:    Thu Sep 20 14:35:45 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Thu Sep 20 14:38:34 2018 +0100

[unit-test/radix-tree] Add a huge test case

Derived from the logs that dct gave me.

---
 test/unit/Makefile       |    2 +
 test/unit/radix_tree_t.c |   60 ++
 test/unit/rt_case1.c     | 1669 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1731 insertions(+), 0 deletions(-)
test/unit/Makefile +2 -0
index bf85354..0530fca 100644
@@ -29,6 +29,8 @@ UNIT_SOURCE=\
 	test/unit/string_t.c \
 	test/unit/vdo_t.c
 
+test/unit/radix_tree_t.o: test/unit/rt_case1.c
+
 UNIT_DEPENDS=$(subst .c,.d,$(UNIT_SOURCE))
 UNIT_OBJECTS=$(UNIT_SOURCE:%.c=%.o)
 CLEAN_TARGETS+=$(UNIT_DEPENDS) $(UNIT_OBJECTS)
test/unit/radix_tree_t.c +60 -0

72 lines not on this page · raw message

test/unit/rt_case1.c new file +1669 -0

1,669 lines not on this page · raw message