OpenCoverageOpenSSH

OpenSSH patch #1 - Test report of the modifications

Overview

Test Execution StatusStatistics
Passed
  0.000% (0/10)
Incident
  0.000% (0/10)
Skipped
  0.000% (0/10)
Failed
  0.000% (0/10)
Requires Manual Checking
  0.000% (0/10)
Unknown
  0.000% (0/10)
All
  0.000% (0/10)
CategoryRemoved LinesInserted LinesTotal
Modified lines executed:
  0.000% (0/4)
  0.000% (0/4)
  0.000% (0/8)
Modified lines not executed:
  0.000% (0/4)
  0.000% (0/4)
  0.000% (0/8)
Source code lines not instrumented:
100.000% (4/4)
100.000% (4/4)
100.000% (8/8)

List of tests executing the changes

Execution NameState

Patch File

Showing: 

Modified File: openbsd-compat/bsd-misc.c

LineTestsDifference Output
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index b6893e17..5d7540a7 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -313,12 +313,12 @@ getsid(pid_t pid)
313 #undef fflush
314 int _ssh_compat_fflush(FILE *f)
315 {
316
-
No equivalent source code line in the reference code can be identified.
- int r1, r2, r3;
316
-
+ int r1, r2;
317
318 if (f == NULL) {
319
-
No equivalent source code line in the reference code can be identified.
- r2 = fflush(stdout);
320
-
No equivalent source code line in the reference code can be identified.
- r3 = fflush(stderr);
321
-
No equivalent source code line in the reference code can be identified.
- if (r1 == -1 || r2 == -1 || r3 == -1)
319
-
+ r1 = fflush(stdout);
320
-
+ r2 = fflush(stderr);
321
-
+ if (r1 == -1 || r2 == -1)
322 return -1;
323 return 0;
324 }

Generated by Squish Coco 4.2.2