Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175294124
D11318.id29997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11318.id29997.diff
View Options
Index: head/bin/echo/tests/echo_test.sh
===================================================================
--- head/bin/echo/tests/echo_test.sh
+++ head/bin/echo/tests/echo_test.sh
@@ -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
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 10, 5:59 PM (11 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40559087
Default Alt Text
D11318.id29997.diff (1 KB)
Attached To
Mode
D11318: Style fixes: clean up leading whitespace (8 single column spaces -> \t)
Attached
Detach File
Event Timeline
Log In to Comment