[PATCH RFC aiaiai 07/11] email: rename error_test_patchset_failed

Jacob Keller jacob.e.keller at intel.com
Thu Mar 27 11:40:05 PDT 2014

Since this function could be used to generically refer to any internal
error, modify the name and description. We will be using this function
in a later patch to indicate an internal error in a hook as well.

Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
 email/aiaiai-email-test-patchset | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index a3b7280e92ea..57a08538a103 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -138,10 +138,10 @@ EOF
 	exit 0
-# This function is called when the 'aiaiai-test-patchest' fails. This most
-# probably means a bug or configuration issues. This function sends
-# corresponding e-mail notification.
+# This function is called when an internal error occurs, such as when
+# aiaiai-test-patchset fails. This most probably means a bug or configuration
+# issue occurred. This function sends a corresponding email notification.
 	send_email <<EOF
 Sorry, but an internal $cfg_ownname error happened. Please, contact
@@ -318,7 +318,7 @@ aiaiai-test-patchset $verbose ${cfg_preserve_files:+--preserve} \
 	"$pcfg_path" "$pcfg_configs" > "$tmpdir/test-patchset.log" ||
 	verbose "aiaiai-test-patchset failed"
-	error_test_patchset_failed
+	error_internal_error_occurred
 # Mail the results of testing

More information about the aiaiai mailing list