Bruno Haible wrote: > Jim Meyering wrote: >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -27,6 +27,7 @@ >> # Note that these commands are executed in a subdirectory, therefore you >> # need to prepend "../" to relative filenames in the build directory. >> # Set the exit code 0 for success, 77 for skipped, or 1 or other for >> failure. >> +# Use the skip_ and fail_ functions to print a diagnostic and then exit > > What is the meaning of the trailing underscore convention? I guessed that > functions with a trailing underscore were internal and the capitalized names > were exported from the script. Would it not make sense to rename skip_ and > fail_ then, if they are user-visible?
My goal was to keep the symbols from init.sh from impinging on the test-writer's name space.