mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 11:40:25 +00:00
Modified xcattest check:output to enforce stricter syntax checking
This commit is contained in:
@@ -1435,8 +1435,7 @@ sub run_case {
|
||||
log_this($running_log_fd, "CHECK:rc $op $rvalue\t[Pass]");
|
||||
push(@caselog, "CHECK:rc $op $rvalue\t[Pass]");
|
||||
}
|
||||
} elsif ($check =~ /output\s*([=!~]+)\s*(\S.*)/
|
||||
&& $check !~ /output\s*([=!~])\1/) {
|
||||
} elsif ($check =~ /output\s*(==|!=|=~|!~)\s*(\S.*)/) {
|
||||
my $lvalue = join("\n", @output);
|
||||
my $op = $1;
|
||||
my $rvalue = $2;
|
||||
|
Reference in New Issue
Block a user