We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7d2a8 commit 7dc8e24Copy full SHA for 7dc8e24
tools/testing/ktest/ktest.pl
@@ -1538,6 +1538,11 @@ sub dodie {
1538
return if ($in_die);
1539
$in_die = 1;
1540
1541
+ if ($monitor_cnt) {
1542
+ # restore terminal settings
1543
+ system("stty $stty_orig");
1544
+ }
1545
+
1546
my $i = $iteration;
1547
1548
doprint "CRITICAL FAILURE... [TEST $i] ", @_, "\n";
@@ -1584,11 +1589,6 @@ sub dodie {
1584
1589
"Your test started at $script_start_time has failed with:\n@_\n", $log_file);
1585
1590
}
1586
1591
1587
- if ($monitor_cnt) {
1588
- # restore terminal settings
- system("stty $stty_orig");
- }
-
1592
if (defined($post_test)) {
1593
run_command $post_test;
1594
0 commit comments