1
1
mirror of https://github.com/tstack/lnav.git synced 2024-08-17 00:40:30 +03:00

don't check ws in diff

This commit is contained in:
Timothy Stack 2015-04-04 13:43:46 -07:00
parent 38e56b63ea
commit 397412aea3

View File

@ -72,7 +72,7 @@ run_test() {
# EOF
#
check_output() {
diff -u ${test_file_base}_${test_num}.tmp - > ${test_file_base}_${test_num}.diff
diff -w -u ${test_file_base}_${test_num}.tmp - > ${test_file_base}_${test_num}.diff
if test $? -ne 0; then
echo $LAST_TEST
echo $1
@ -83,7 +83,7 @@ check_output() {
}
check_error_output() {
diff -u ${test_file_base}_${test_num}.err - \
diff -w -u ${test_file_base}_${test_num}.err - \
> ${test_file_base}_${test_num}.err.diff
if test $? -ne 0; then
echo $LAST_TEST