diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index 6c2ffe27a..47ebfa45f 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -1447,11 +1447,6 @@ sub run_case { || (($op eq '==') && ($lvalue ne $rvalue)) || (($op eq '!=') && ($lvalue eq $rvalue))) { $failflag = 1; - } elsif (($op ne '=~') && ($op ne '!~') && ($op ne '==') && ($op ne '!=')) { - $failflag = 1; - log_this($running_log_fd, "CHECK:output unrecognized operator: $op\t[Failed]"); - push(@caselog, "CHECK:output unrecognized operator: $op\t[Failed]"); - last; } if ($failflag) { log_this($running_log_fd, "CHECK:output $op $rvalue\t[Failed]"); @@ -1496,13 +1491,7 @@ sub run_case { } else { log_this($running_log_fd, "CHECK:output $op $rvalue\t[Pass]"); push(@caselog, "CHECK:output $op $rvalue\t[Pass]"); - } - } else { - $failflag = 1; - log_this($running_log_fd, "Unrecognized testcase syntax: CHECK:$check\t[Failed]"); - push(@caselog, "Unrecognized testcase syntax: CHECK:$check\t[Failed]"); - } - } + } } } foreach my $cmdcheck (@{ $cases_ref->[ $case_name_index_map_ref->{$case} ]->{cmdcheck}->[$j] }) { if ($cmdcheck) { &runcmd($cmdcheck);