Commit 8f6bdf2f authored by Josh Coalson's avatar Josh Coalson
Browse files

minor fix for windows quirk

parent a65fd931
......@@ -48,6 +48,12 @@ run_test_cuesheet ()
fi
}
if [ `env | grep -ic '^comspec='` != 0 ] ; then
is_win=yes
else
is_win=no
fi
########################################################################
#
# test_cuesheet
......@@ -95,6 +101,10 @@ for cuesheet in $good_cuesheets ; do
rm -f $cuesheet_pass1 $cuesheet_pass2
done
diff cuesheet.ok $log > cuesheet.diff || die "Error: .log file does not match .ok file, see cuesheet.diff"
if [ $is_win = yes ] ; then
diff -w cuesheet.ok $log > cuesheet.diff || die "Error: .log file does not match .ok file, see cuesheet.diff"
else
diff cuesheet.ok $log > cuesheet.diff || die "Error: .log file does not match .ok file, see cuesheet.diff"
fi
echo "PASSED (results are in $log)"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment