mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 13:05:51 +03:00
don't check ws in diff
This commit is contained in:
parent
38e56b63ea
commit
397412aea3
@ -72,7 +72,7 @@ run_test() {
|
|||||||
# EOF
|
# EOF
|
||||||
#
|
#
|
||||||
check_output() {
|
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
|
if test $? -ne 0; then
|
||||||
echo $LAST_TEST
|
echo $LAST_TEST
|
||||||
echo $1
|
echo $1
|
||||||
@ -83,7 +83,7 @@ check_output() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_error_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
|
> ${test_file_base}_${test_num}.err.diff
|
||||||
if test $? -ne 0; then
|
if test $? -ne 0; then
|
||||||
echo $LAST_TEST
|
echo $LAST_TEST
|
||||||
|
Loading…
Reference in New Issue
Block a user