Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 04:00:13 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322873 - stable/11/bin/echo/tests
Message-ID:  <201708250400.v7P40DnW052370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Fri Aug 25 04:00:13 2017
New Revision: 322873
URL: https://svnweb.freebsd.org/changeset/base/322873

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/11/bin/echo/tests/echo_test.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/bin/echo/tests/echo_test.sh
==============================================================================
--- stable/11/bin/echo/tests/echo_test.sh	Fri Aug 25 03:15:18 2017	(r322872)
+++ stable/11/bin/echo/tests/echo_test.sh	Fri Aug 25 04:00:13 2017	(r322873)
@@ -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
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708250400.v7P40DnW052370>