lib / string_helpers: refactoring the test suite
authorAndy Shevchenko <[email protected]>
Mon, 13 Oct 2014 22:55:14 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Oct 2014 00:18:26 +0000 (02:18 +0200)
commit45ff337a54c154680edf0c538e5c9eb4a2f862cc
treec0678933a57841062c68da0b42dff92d7b2e8903
parentd295634e965ecacdb44c6760b3ca4eae08812715
lib / string_helpers: refactoring the test suite

This patch prepares test suite for a following update.  It introduces
test_string_check_buf() helper which checks the result and dumps an error.

Signed-off-by: Andy Shevchenko <[email protected]>
Cc: "John W . Linville" <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/test-string_helpers.c