- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit0d91c52
committed
Fix places in TestLib.pm in need of adaptation to the output of Msys perl
Contrary to the output of native perl, Msys perl generates outputs withCRLFs characters. There are already places in the TAP code where CRLFs(\r\n) are automatically converted to LF (\n) on Msys, but we missed acouple of places when running commands and using their output forcomparison, that would lead to failures.This problem has been found thanks to the test added in5adb067 usingTestLib::command_checks_all(), but after a closer look more code pathswere missing a filter.This is backpatched all the way down to prevent any surprises if a newtest is introduced in stable branches.Reviewed-by: Andrew Dunstan, Álvaro HerreraDiscussion:https://postgr.es/m/1252480.1631829409@sss.pgh.pa.usBackpatch-through: 9.61 parent4476bcb commit0d91c52
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
| 437 | + | |
437 | 438 |
| |
438 | 439 |
| |
439 | 440 |
| |
| |||
878 | 879 |
| |
879 | 880 |
| |
880 | 881 |
| |
| 882 | + | |
881 | 883 |
| |
882 | 884 |
| |
883 | 885 |
| |
| |||
930 | 932 |
| |
931 | 933 |
| |
932 | 934 |
| |
| 935 | + | |
933 | 936 |
| |
934 | 937 |
| |
935 | 938 |
| |
| |||
974 | 977 |
| |
975 | 978 |
| |
976 | 979 |
| |
| 980 | + | |
| 981 | + | |
977 | 982 |
| |
978 | 983 |
| |
979 | 984 |
| |
|
0 commit comments
Comments
(0)