Skip to content
Snippets Groups Projects
Commit 31b7cd09 authored by Moe Jette's avatar Moe Jette
Browse files

Correct some bad logic.

parent f4d554d4
No related branches found
No related tags found
No related merge requests found
......@@ -118,18 +118,16 @@ if {[wait_for_file $file_out] == 0} {
}
if {$record == 2} {
if {$hour != $expect_out(1,string)} {
set preserved 0
}
if {$minute != $expect_out(2,string)} {
set preserved 0
if {$minute != $expect_out(2,string)} {
set preserved 0
}
}
}
if {$record == 3} {
if {$hour == $expect_out(1,string)} {
set reset 0
}
if {$minute == $expect_out(2,string)} {
set reset 0
if {$minute == $expect_out(2,string)} {
set reset 0
}
}
}
exp_continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment