#1074 and #1057 Fixing build breakers on Cygwin and msvc MinGW to be further investigaged. add checkSum to test functions

This commit is contained in:
Robin Mills
2016-09-07 13:17:47 +00:00
parent 5cf87e19dd
commit d7463fd114
6 changed files with 20 additions and 13 deletions
+8
View File
@@ -414,6 +414,14 @@ copyVideoFiles ()
popd 2>/dev/null >/dev/null
}
##
# print checksum for one file
checkSum()
{
# cygwin checksum: http://esrg.sourceforge.net/utils_win_up/md5sum/
md5 $1 | cut -d= -f 2 | sed -E -e 's/ //g' | cut '-d(' -f 1
}
##
# prepare temp files and other variables
prepareTest()