Improve test framework: expose shellarg() function

This commit is contained in:
Andrew Bettison 2012-08-02 15:42:18 +09:30
parent ee6d9d8ea3
commit 18424a4f1e

View File

@ -378,6 +378,12 @@ teardown() {
# The following functions are provided to facilitate writing test cases and
# fixtures.
# Add quotations to the given arguments to allow them to be expanded intact
# in eval expressions.
shellarg() {
_tfw_shellarg "$@"
}
# Echo the absolute path (containing symlinks if given) of the given
# file/directory, which does not have to exist or even be accessible.
abspath() {