"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/test-functions" between
detox-1.4.4.tar.gz and detox-1.4.5.tar.gz

About: Detox is a utility designed to clean up filenames, especially those created on other operating systems.

test-functions  (detox-1.4.4):test-functions  (detox-1.4.5)
#!/bin/sh #!/bin/sh
# #
# unit test functions # unit test functions
# #
## ##
# Realpath polyfill for systems where it doesn't exist
#
# @param $1 Path to examine
#
if [ ! -x "$(command -v realpath)" ] ; then
function realpath()
{
readlink -f $1
}
fi
##
# Executes a single test against a single function using a single table. # Executes a single test against a single function using a single table.
# #
# @param $1 Detox Executable # @param $1 Detox Executable
# @param $2 Input Filename # @param $2 Input Filename
# @param $3 Output Filename # @param $3 Output Filename
# @param $4 Method (utf_8, safe, etc) # @param $4 Method (utf_8, safe, etc)
# @param $5 Table (path to the table to use) # @param $5 Table (path to the table to use)
# #
# @return int 0 for success, 1 for failure # @return int 0 for success, 1 for failure
# #
 End of changes. 1 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)