ctdb-tests: Rename functions to test_header() and test_footer()
authorMartin Schwenke <martin@meltin.net>
Thu, 3 Oct 2019 07:25:10 +0000 (17:25 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 10:58:10 +0000 (10:58 +0000)
That's all they do now.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Oct  4 10:58:10 UTC 2019 on sn-devel-184

ctdb/tests/run_tests.sh

index 6e4082e396a98c4129a341395c50c38ec5ba4529..c162aa54bc48a563283fec05eea0914d4f257816 100755 (executable)
@@ -85,7 +85,7 @@ fi
 
 ######################################################################
 
-ctdb_test_begin ()
+test_header ()
 {
        local name="$1"
 
@@ -94,7 +94,7 @@ ctdb_test_begin ()
        echo "--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--"
 }
 
-ctdb_test_end ()
+test_footer ()
 {
        local f="$1"
        local status="$2"
@@ -117,7 +117,7 @@ ctdb_test_run ()
 {
        local f="$1"
 
-       $no_header || ctdb_test_begin "$f"
+       $no_header || test_header "$f"
 
        local status=0
        local start_time
@@ -160,7 +160,7 @@ ctdb_test_run ()
                ;;
        esac
 
-       $no_header || ctdb_test_end "$f" "$status" "$interp" "$duration"
+       $no_header || test_footer "$f" "$status" "$interp" "$duration"
 
        if $with_summary ; then
                local t