Test Execution Status | Statistics |
---|---|
Passed | 0.000% (0/43) |
Incident | 0.000% (0/43) |
Skipped | 0.000% (0/43) |
Failed | 0.000% (0/43) |
Requires Manual Checking | 0.000% (0/43) |
Unknown | 0.000% (0/43) |
All | 0.000% (0/43) |
Category | Removed Lines | Inserted Lines | Total |
---|---|---|---|
Modified lines executed: | -- (0/0) | 0.000% (0/18) | 0.000% (0/18) |
Modified lines not executed: | -- (0/0) | 33.333% (6/18) | 33.333% (6/18) |
Source code lines not instrumented: | -- (0/0) | 66.667% (12/18) | 66.667% (12/18) |
Execution Name | State |
---|
Line | Tests | Difference Output |
---|---|---|
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c | ||
index 45d48202b5..6b996134df 100644 | ||
--- a/crypto/ui/ui_openssl.c | ||
+++ b/crypto/ui/ui_openssl.c | ||
@@ -415,6 +415,24 @@ static int open_console(UI *ui) | ||
415 | is_a_tty = 0; | |
416 | else | |
417 | # endif | |
418 | - | +# ifdef ENXIO |
419 | - | + /* |
420 | - | + * Solaris can return ENXIO. |
421 | - | + * This should be ok |
422 | 0 | + */ |
423 | 0 | + if (errno == ENXIO) |
424 | 0 | + is_a_tty = 0; |
425 | - | + else |
426 | - | +# endif |
427 | - | +# ifdef EIO |
428 | - | + /* |
429 | - | + * Linux can return EIO. |
430 | - | + * This should be ok |
431 | 0 | + */ |
432 | 0 | + if (errno == EIO) |
433 | 0 | + is_a_tty = 0; |
434 | - | + else |
435 | - | +# endif |
418 ➡ 436 | # ifdef ENODEV | |
419 ➡ 437 | /* | |
420 ➡ 438 | * MacOS X returns ENODEV (Operation not supported by device), |