svn commit: r292656 - stable/10/share/examples/tests/tests/atf

Garrett Cooper ngie at FreeBSD.org
Wed Dec 23 10:34:13 UTC 2015


Author: ngie
Date: Wed Dec 23 10:34:11 2015
New Revision: 292656
URL: https://svnweb.freebsd.org/changeset/base/292656

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

Modified:
  stable/10/share/examples/tests/tests/atf/printf_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/examples/tests/tests/atf/printf_test.c
==============================================================================
--- stable/10/share/examples/tests/tests/atf/printf_test.c	Wed Dec 23 10:31:46 2015	(r292655)
+++ stable/10/share/examples/tests/tests/atf/printf_test.c	Wed Dec 23 10:34:11 2015	(r292656)
@@ -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-stable mailing list