svn commit: r321830 - stable/10/bin/echo/tests

Alan Somers asomers at FreeBSD.org
Mon Jul 31 23:03:11 UTC 2017


Author: asomers
Date: Mon Jul 31 23:03:10 2017
New Revision: 321830
URL: https://svnweb.freebsd.org/changeset/base/321830

Log:
  MFC r320269:
  
  style fixes in bin/echo/tests
  
  Submitted by:	shivansh
  Reviewed by:	asomers
  X-MFC-With:	319626
  Sponsored by:	Google, Inc (GSoC 2017)
  Differential Revision:	https://reviews.freebsd.org/D11318

Modified:
  stable/10/bin/echo/tests/echo_test.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/bin/echo/tests/echo_test.sh
==============================================================================
--- stable/10/bin/echo/tests/echo_test.sh	Mon Jul 31 22:36:03 2017	(r321829)
+++ stable/10/bin/echo/tests/echo_test.sh	Mon Jul 31 23:03:10 2017	(r321830)
@@ -27,29 +27,33 @@
 #
 
 atf_test_case n_output
-n_output_head() {
-        atf_set "descr" "Verify that echo(1) does not print the trailing " \
-                "newline character with option '-n'"
+n_output_head()
+{
+	atf_set "descr" "Verify that echo(1) does not print the trailing " \
+			"newline character with option '-n'"
 }
 
-n_output_body() {
-        atf_check -s ignore -o inline:"Hello world" \
-                /bin/echo -n "Hello world"
+n_output_body()
+{
+	atf_check -s ignore -o inline:"Hello world" \
+		/bin/echo -n "Hello world"
 }
 
 atf_test_case append_c_output
-append_c_output_head() {
-        atf_set "descr" "Verify that echo(1) does not print the trailing newline " \
-                "character when '\c' is appended to the end of the string"
+append_c_output_head()
+{
+	atf_set "descr" "Verify that echo(1) does not print the trailing newline " \
+			"character when '\c' is appended to the end of the string"
 }
 
-append_c_output_body() {
-        atf_check -s ignore -o inline:"Hello world" \
-                /bin/echo "Hello world\c"
+append_c_output_body()
+{
+	atf_check -s ignore -o inline:"Hello world" \
+		/bin/echo "Hello world\c"
 }
 
 atf_init_test_cases()
 {
-        atf_add_test_case n_output
-        atf_add_test_case append_c_output
+	atf_add_test_case n_output
+	atf_add_test_case append_c_output
 }


More information about the svn-src-all mailing list