beginning of each test file.
The function dotest should be invoked at the end of each module in the test suite; each module should define functions starting with the same prefix. A module should be stored in a file, and should look like the following:
# mymodule.test --
... ... }
dotest module-
### end of file
the file should be executed with:
$ bash mymodule.test
To te... e actual string and the maximum length the string should be.
Here's the function:
check_length()
# chec