From: Sebastian Harl Date: Wed, 23 Apr 2014 21:39:41 +0000 (+0200) Subject: strbuf_test: Added some more test-cases for sdb_strbuf_skip(). X-Git-Tag: sysdb-0.1.0~89 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4130a0e4cc52988bd03fabeab36d4941c1f784c9;p=sysdb.git strbuf_test: Added some more test-cases for sdb_strbuf_skip(). --- diff --git a/t/utils/strbuf_test.c b/t/utils/strbuf_test.c index 0acb1de..bb03296 100644 --- a/t/utils/strbuf_test.c +++ b/t/utils/strbuf_test.c @@ -405,6 +405,17 @@ static struct { { 1, 0, "1234567890", 10 }, { 1, 1, "134567890", 9 }, { 1, 2, "14567890", 8 }, + { 2, 0, "1234567890", 10 }, + { 2, 1, "124567890", 9 }, + { 2, 2, "12567890", 8 }, + { 2, 3, "1267890", 7 }, + { 2, 4, "127890", 6 }, + { 2, 5, "12890", 5 }, + { 2, 6, "1290", 4 }, + { 2, 7, "120", 3 }, + { 2, 8, "12", 2 }, + { 2, 9, "12", 2 }, + { 2, 10, "12", 2 }, { 8, 1, "123456780", 9 }, { 8, 2, "12345678", 8 }, { 8, 3, "12345678", 8 },