progress test failure on fedora34
From: Fabian Stelzer <hidden>
Date: 2021-07-14 12:39:51
Hi, The test t0500-progress-display.sh in current master fails on latest fedora34. The break was introduced with: 83ae1edff7ee0b7674bd556955d2cf1706bddb21 ab/fix-columns-to-80-during-tests (2021-06-29) 1 commit Kind regards, Fabian expecting success of 0500.3 'progress display breaks long lines #1': sed -e "s/Z$//" >expect <<\EOF && Working hard.......2.........3.........4.........5.........6: 0% (100/100000)<CR> Working hard.......2.........3.........4.........5.........6: 1% (1000/100000)<CR> Working hard.......2.........3.........4.........5.........6: Z 10% (10000/100000)<CR> 100% (100000/100000)<CR> 100% (100000/100000), done. EOF cat >in <<-\EOF && progress 100 progress 1000 progress 10000 progress 100000 EOF test-tool progress --total=100000 \ "Working hard.......2.........3.........4.........5.........6" \ <in 2>stderr && show_cr <stderr >out && test_cmp expect out ++ sed -e 's/Z$//' ++ cat ++ test-tool progress --total=100000 'Working hard.......2.........3.........4.........5.........6' ++ show_cr ++ tr '\015' Q ++ sed -e 's/Q/<CR>\ /g' ++ test_cmp expect out ++ test 2 -ne 2 ++ eval 'diff -u' '"$@"'
+++ diff -u expect out
--- expect 2021-07-14 12:29:49.576970165 +0000
+++ out 2021-07-14 12:29:49.580970145 +0000@@ -1,6 +1,5 @@ Working hard.......2.........3.........4.........5.........6: 0%
(100/100000)<CR> Working hard.......2.........3.........4.........5.........6: 1% (1000/100000)<CR> -Working hard.......2.........3.........4.........5.........6: - 10% (10000/100000)<CR> - 100% (100000/100000)<CR> - 100% (100000/100000), done. +Working hard.......2.........3.........4.........5.........6: 10% (10000/100000)<CR> +Working hard.......2.........3.........4.........5.........6: 100% (100000/100000)<CR> +Working hard.......2.........3.........4.........5.........6: 100% (100000/100000), done. error: last command exited with $?=1 not ok 3 - progress display breaks long lines #1 # # sed -e "s/Z$//" >expect <<\EOF && # Working hard.......2.........3.........4.........5.........6: 0% (100/100000)<CR> # Working hard.......2.........3.........4.........5.........6: 1% (1000/100000)<CR> # Working hard.......2.........3.........4.........5.........6: Z # 10% (10000/100000)<CR> # 100% (100000/100000)<CR> # 100% (100000/100000), done. # EOF # # cat >in <<-\EOF && # progress 100 # progress 1000 # progress 10000 # progress 100000 # EOF # test-tool progress --total=100000 \ # "Working hard.......2.........3.........4.........5.........6" \ # <in 2>stderr && # # show_cr <stderr >out && # test_cmp expect out #