diff options
Diffstat (limited to 'contrib/kyua/cli/cmd_debug.cpp')
| -rw-r--r-- | contrib/kyua/cli/cmd_debug.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/kyua/cli/cmd_debug.cpp b/contrib/kyua/cli/cmd_debug.cpp index 8ad52afb73a6..f5e48572407e 100644 --- a/contrib/kyua/cli/cmd_debug.cpp +++ b/contrib/kyua/cli/cmd_debug.cpp @@ -33,6 +33,7 @@ extern "C" { } #include <cstdlib> +#include <cstring> #include <iostream> #include "cli/common.ipp" @@ -105,7 +106,7 @@ public: { if (::chdir(_eh.work_directory().c_str()) == -1) { std::cerr << "execute: chdir() errors: " - << strerror(errno) << ".\n"; + << std::strerror(errno) << ".\n"; std::exit(EXIT_FAILURE); } @@ -154,14 +155,14 @@ public: _ui->out("The test failed and paused right before its cleanup " "routine."); _ui->out(F("Test work dir: %s") % eh.work_directory().str()); - _ui->out("Press <Enter> to continue..."); + _ui->out("Press any key to continue..."); (void) std::cin.get(); } } else if (_cmdline.has_option(pause_before_cleanup_option .long_name())) { _ui->out("The test paused right before its cleanup routine."); _ui->out(F("Test work dir: %s") % eh.work_directory().str()); - _ui->out("Press <Enter> to continue..."); + _ui->out("Press any key to continue..."); (void) std::cin.get(); } }; |
