* lib/autotest/general.m4: Put function braces in separate line.

This commit is contained in:
Ralf Wildenhues 2007-10-11 01:49:50 +02:00
parent b4df79e1ab
commit 392e227524
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4: Put function braces in separate line.
2007-10-10 Eric Blake <ebb9@byu.net>
Avoid some overhead from m4_defn and m4_popdef.

View File

@ -251,7 +251,8 @@ at_func_log_failure ()
# at_func_check_skip EXIT-CODE
# Check whether EXIT-CODE is the special exit code 77, and if so exit the shell
# with that same exit code.
at_func_check_skip () {
at_func_check_skip ()
{
case $[1] in
77) echo 77 > "$at_status_file"; exit 77;;
esac
@ -261,7 +262,8 @@ at_func_check_skip () {
# Check whether EXIT-CODE is the expected exit code, and if so do nothing. Else,
# if it is 77 exit the shell with that same exit code; if it is anything else
# print an error message and fail the test.
at_func_check_status () {
at_func_check_status ()
{
dnl This order ensures that we don't `skip' if we are precisely checking $? = 77.
case $[2] in
$[1] ) ;;
@ -274,7 +276,8 @@ at_func_check_status () {
# at_func_diff_devnull FILE
# Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless
# diff invocations.
at_func_diff_devnull () {
at_func_diff_devnull ()
{
test -s "$[1]" || return 0
$at_diff "$at_devnull" "$[1]"
}