} elsif (scalar @versions > 1) {
push @errors, "invalid multiple version elements";
} else { # no version at all; no longer allowed
- # This will be caught later, when the operation list is validated.
+ push @errors, "no version specified in directive";
}
}
my $stem = substr $packet->[0],0,-(length '.directive.asc');
my $op_header = $ops->[0][1];
- # They have to specify a version
- fatal("no version directive specified in $stem.directive.asc",1)
- unless defined $op_header->{version};
-
# They have to specify a directory directive.
unless ($op_header->{directory}) {
# Send the warning to the upload-ftp script maintainer, and the person who
"found triplet"
} email-to {
ftp-upload-script@gnu.org foo@example.gnu.org
- ftp-upload-report@gnu.org
}
}
validate,no-version "directive file lacking version rejected"
} email-to {
ftp-upload-script@gnu.org foo@example.gnu.org
- ftp-upload-report@gnu.org foo@example.org foo@example.net
+ foo@example.org foo@example.net
}
}
exp_continue
}
-re {^gatekeeper\[[0-9]+\]: \(Test\)\
- no version directive specified in ([^\r\n]+)} {
+ no version specified in directive} {
# from read_directive_file, if no version given
# This was valid in v1 but v1 is now obsolete.
set A(validate,no-version) 1
- set A(validate,no-version,$expect_out(1,string)) 1
exp_continue
}
-re {^gatekeeper\[[0-9]+\]: \(Test\)\