Lines Matching refs:post
59 # - post: <post-test check command> (default: none)
60 # - cleanup: <post-test cleanup cmd> (default: none)
82 # The post-test command, if present, must return 0 and its stdout must match
83 # the expected stdout which is kept in <test>.post.exp*.
116 my $post; # check command after running test
122 my %num_failures = (stderr => 0, stdout => 0, post => 0);
209 ($prereq, $post, $cleanup) = (undef, undef, undef);
233 } elsif ($line =~ /^\s*post:\s*(.*)$/) {
234 $post = $1;
366 # Maybe do post-test check
367 if (defined $post) {
368 if (mysystem("$post > $name.post.out") != 0) {
369 print("post check failed: $post\n");
370 $num_failures{"post"}++;
372 # Find all the .post.exp files. If none, use /dev/null.
373 my @post_exps = <$name.post.exp*>;
375 do_diffs($fullname, $name, "post", \@post_exps);
452 . "%d post failure%s ==\n",
456 $num_failures{"post"}, plural($num_failures{"post"}));
511 0 == $num_failures{"post"}) {