OpenCoverageCoreutils

Coreutils patch #20 - Test report of the modifications

Overview

Test Execution StatusStatistics
Passed
  0.000% (0/108)
Failed
  0.000% (0/108)
Requires Manual Checking
  0.000% (0/108)
Unknown
  0.926% (1/108)
All
  0.926% (1/108)
CategoryRemoved LinesInserted LinesTotal
Modified lines executed:
100.000% (1/1)
 14.286% (1/7)
 25.000% (2/8)
Modified lines not executed:
  0.000% (0/1)
 71.429% (5/7)
 62.500% (5/8)
Source code lines not covered:
  0.000% (0/1)
 14.286% (1/7)
 12.500% (1/8)

List of tests executing the changes

Execution NameState
trUnknown

Patch File

Showing: 

Modified File: src/tr.c

LineTestsDifference Output
diff --git a/src/tr.c b/src/tr.c
index 4f407f4b1..ae05192dc 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1705,10 +1705,16 @@ main (int argc, char **argv)
1705
1706 atexit (close_stdout);
1707
1708
1
Executed by:
  • tr
- while ((c = getopt_long (argc, argv, "+cCdst", long_options, NULL)) != -1)
1708
1
Executed by:
  • tr
+ while ((c = getopt_long (argc, argv, "+AcCdst", long_options, NULL)) != -1)
1709 {
1710 switch (c)
1711 {
1712
0
+ case 'A':
1713
0
+ /* Undocumented option, for compatibility with AIX. */
1714
0
+ setlocale (LC_COLLATE, "C");
1715
0
+ setlocale (LC_CTYPE, "C");
1716
0
+ break;
1717
-
+
1712 ➡ 1718 case 'c':
1713 ➡ 1719 case 'C':
1714 ➡ 1720 complement = true;

Generated by Squish Coco 4.1.2