tests: postcheck is now in verify

Also introduce 'notexists' for verifying that directory entries do not
exist after a test. Now an explicit supported feature instead of using
"funny" perl in postcheck.

Closes #15046
This commit is contained in:
Daniel Stenberg 2024-09-25 23:36:05 +02:00
parent 7060b9b082
commit 56183c1d6f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
73 changed files with 260 additions and 262 deletions

View file

@ -1130,6 +1130,11 @@ sub singletest_postcheck {
# run the postcheck command
my @postcheck= getpart("client", "postcheck");
if(@postcheck) {
die "test$testnum uses client/postcheck";
}
@postcheck= getpart("verify", "postcheck");
if(@postcheck) {
my $cmd = join("", @postcheck);
chomp $cmd;