svn commit: r292485 - head/share/examples/tests/tests/atf

Garrett Cooper ngie at FreeBSD.org
Sun Dec 20 02:36:31 UTC 2015


Author: ngie
Date: Sun Dec 20 02:36:30 2015
New Revision: 292485
URL: https://svnweb.freebsd.org/changeset/base/292485

Log:
  Add missing return statement to atf/printf_test to make the example
  complete and correct, and mute a compiler warning from clang
  
  MFC after: 3 days
  Reported by: Jenkins
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/share/examples/tests/tests/atf/printf_test.c

Modified: head/share/examples/tests/tests/atf/printf_test.c
==============================================================================
--- head/share/examples/tests/tests/atf/printf_test.c	Sun Dec 20 02:05:33 2015	(r292484)
+++ head/share/examples/tests/tests/atf/printf_test.c	Sun Dec 20 02:36:30 2015	(r292485)
@@ -152,4 +152,6 @@ ATF_TP_ADD_TCS(tp)
 	ATF_TP_ADD_TC(tp, snprintf__two_formatters);
 	ATF_TP_ADD_TC(tp, snprintf__overflow);
 	ATF_TP_ADD_TC(tp, fprintf__simple_string);
+
+	return (atf_no_error());
 }


More information about the svn-src-all mailing list