File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ TEST_CASE(
39
39
{
40
40
std::vector<std::string> commands;
41
41
#ifdef _WIN32
42
- const std::string expected_error (" 'abcde' is not recogni " );
42
+ const std::string expected_error (" 'abcde' is not recognized " );
43
43
commands.push_back (" cmd /c abcde" );
44
44
#else
45
45
const std::string expected_error (" Launching abcde failed" );
@@ -90,13 +90,17 @@ TEST_CASE(
90
90
end_time - start_time);
91
91
size_t calc = time_span.count ();
92
92
#else
93
- // Currently not working under Linxu/MacOS?!
94
- // commands.push_back("sleep 6");
95
- // time_t calc = time(NULL);
96
- // piped_processt process(commands);
97
- // process.~piped_processt();
98
- // calc = time(NULL) - calc;
93
+ // Currently not working under Linux/MacOS?!
94
+ // Likely due to issue in handling signals from child process
95
+ # if 0
96
+ commands.push_back (" sleep 6" );
97
+ time_t calc = time (NULL );
98
+ piped_processt process (commands);
99
+ process.~piped_processt ();
100
+ calc = time (NULL ) - calc;
101
+ # else
99
102
size_t calc = 0 ;
103
+ # endif
100
104
#endif
101
105
// Command should take >5 seconds, check we called destructor and
102
106
// moved on in less than 2 seconds.
You can’t perform that action at this time.
0 commit comments