ftp-upload-script@gnu.org ftp-upload-report@gnu.org
}
+check_loose_directive "bogus: no actual command" {
+ directive {
+ version 1.2
+ directory foo
+ comment "no actual command here"
+ } dsig { good 04 1000 }
+} file-tree {
+ { incoming stage pub archive } empty {}
+ { in-stage } files { foo.directive.asc }
+} log {
+ validate,no-op "null directive rejected"
+} email-to {
+ ftp-upload-script@gnu.org ftp-upload-report@gnu.org
+ foo@example.org foo@example.gnu.org foo@example.net
+}
+
+check_loose_directive "bogus: set 'replace' but no actual command" {
+ directive {
+ version 1.2
+ directory foo
+ replace true
+ comment "replace does not count as a command"
+ } dsig { good 05 1000 }
+} file-tree {
+ { incoming stage pub archive } empty {}
+ { in-stage } files { foo.directive.asc }
+} log {
+ validate,no-op "null directive rejected"
+} email-to {
+ ftp-upload-script@gnu.org ftp-upload-report@gnu.org
+ foo@example.org foo@example.gnu.org foo@example.net
+}
+
# ----------------------------------------
check_loose_directive "create symlink" {