diff options
Diffstat (limited to 'tests/cross_plat.sh')
-rwxr-xr-x | tests/cross_plat.sh | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/tests/cross_plat.sh b/tests/cross_plat.sh index 82937de..34aa789 100755 --- a/tests/cross_plat.sh +++ b/tests/cross_plat.sh @@ -10,26 +10,9 @@ # making the patch files different even though they're the same. By limiting # each patch to only one change, the patches will be identical. -# CURRENTLY BROKEN!! PATCHES ARE DIFFERENT DUE TO WHAT I SUSPECT IS A DIFF -# IN THE MTIME OF THE ORIGINAL PATCHES AND THE CREATED ONES. +# CURRENTLY BROKEN!! +# Patch seven seems to be failing the diff check for some reason. -# To clarify, these are two hexdumps of patch 1, which simply echos 1 into -# a file called a.txt. The first is the committed patch generated by gen.sh, -# and the second is a patch generated by cross_plat.sh. Hint: 4a!! -# -# 0000000 \0 022 \0 C o d e t h i n k : T B D -# 0000020 I F F v 0 005 \0 a . t x t * \0 \0 -# 0000040 \0 \0 \0 \0 \0 207 201 \0 \0 \0 \0 \0 \0 \0 \0 \0 -# 0000060 \0 002 \0 \0 \0 1 \n 001 -# 0000070 -# -# 0000000 \0 022 \0 C o d e t h i n k : T B D -# 0000020 I F F v 0 005 \0 a . t x t * \0 \0 -# 0000040 \0 \0 \0 \0 \0 207 201 \0 \0 350 003 \0 \0 350 003 \0 -# 0000060 \0 002 \0 \0 \0 1 \n 001 -# 0000070 -# -# if [ ! -f run_tests.sh ] then @@ -66,7 +49,7 @@ _TESTFOLDER=`pwd` #trap error ERR -echo -e "\n#### Running Cross-platform Test" +echo -e "#### Running Cross-platform Test" echo -e "\nPreparing Test Environment... " #mkdir foo @@ -97,7 +80,7 @@ done # Diff patches. Should be identical for ((i=1; i<8; i++)); do echo -en "Checking patch ${nums[$i]}... " - diff TESTPATCHES/primepatch${nums[$i]}.tbd $_TESTFOLDER/PATCHES/patch${nums[$i]}.tbd 2>/dev/null 1>&2 + diff TESTPATCHES/primepatch${nums[$i]}.tbd $_TESTFOLDER/PATCHES/patch${nums[$i]}.tbd 2>/dev/null #1>&2 if [ $? -eq 0 ]; then echo OK else |