OpenCoverageCoreutils

Coreutils patch #39 - 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.000% (0/108)
All
  0.000% (0/108)
CategoryRemoved LinesInserted LinesTotal
Modified lines executed:
  0.000% (0/3)
  0.000% (0/4)
  0.000% (0/7)
Modified lines not executed:
 33.333% (1/3)
  0.000% (0/4)
 14.286% (1/7)
Source code lines not covered:
 66.667% (2/3)
100.000% (4/4)
 85.714% (6/7)

List of tests executing the changes

Execution NameState

Patch File

Showing: 

Modified File: m4/jm-macros.m4

LineTestsDifference Output
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 399f69b32..5aef4baf4 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -211,6 +211,7 @@ AC_DEFUN([gl_CHECK_ALL_HEADERS],
211 paths.h
212 priv.h
213 stropts.h
214
-
+ sys/mtio.h
214 ➡ 215 sys/param.h
215 ➡ 216 sys/systeminfo.h
216 ➡ 217 syslog.h

Modified File: src/dd.c

LineTestsDifference Output
diff --git a/src/dd.c b/src/dd.c
index 7b3d2fd37..789811680 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -1720,7 +1720,7 @@ advance_input_offset (uintmax_t offset)
1720 The offending behavior has been confirmed with an Exabyte SCSI tape
1721 drive accessed via /dev/nst0 on both Linux 2.2.17 and 2.4.16 kernels. */
1722
1723
-
No equivalent source code line in the reference code can be identified.
-#ifdef __linux__
1723
-
+#if defined __linux__ && HAVE_SYS_MTIO_H
1724
1725 # include <sys/mtio.h>
1726

Modified File: src/shred.c

LineTestsDifference Output
diff --git a/src/shred.c b/src/shred.c
index b1f0b64b2..30e3e8c44 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -80,7 +80,7 @@
80 #include <assert.h>
81 #include <setjmp.h>
82 #include <sys/types.h>
83
-
No equivalent source code line in the reference code can be identified.
-#ifdef __linux__
83
-
+#if defined __linux__ && HAVE_SYS_MTIO_H
84 # include <sys/mtio.h>
85 #endif
86
@@ -391,7 +391,7 @@ dorewind (int fd, struct stat const *st)
391 {
392 if (S_ISCHR (st->st_mode))
393 {
394
0
-#ifdef __linux__
394
-
+#if defined __linux__ && HAVE_SYS_MTIO_H
395 /* In the Linux kernel, lseek does not work on tape devices; it
396 returns a randomish value instead. Try the low-level tape
397 rewind operation first. */

Generated by Squish Coco 4.1.2