# Check dry-run uploads -*- Autotest -*- # Copyright (C) 2009 Sergey Poznyakoff # # Wydawca is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Wydawca is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Wydawca. If not, see . AT_SETUP([Dry-run upload]) AT_DATA([template], [wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) started wydawca: [[DEBUG]] @WD_SRC@ -> @WD_DST@ wydawca: [[DEBUG]] found file file: distributive, stem: file wydawca: [[DEBUG]] found file file.directive.asc: signed upload directive, stem: file wydawca: [[DEBUG]] found file file.sig: detached signature, stem: file wydawca: [[DEBUG]] processing spool test (@WD_DST@) wydawca: [[DEBUG]] FILE file, DIST=file, SIG=file.sig, DIRECTIVE=file.directive.asc wydawca: [[NOTICE]] Good signature from Wydawca (Testsuite) wydawca: [[DEBUG]] file: directive file signature OK wydawca: [[NOTICE]] no such group: proj wydawca: [[DEBUG]] verifying access rights for user gray to project proj wydawca: [[DEBUG]] processing triplet `file' wydawca: [[NOTICE]] file.directive.asc: COMMENT: Gnupload for Wydawca testsuite wydawca: [[DEBUG]] good detached signature for file wydawca: [[DEBUG]] installing file to @WD_DST@/proj wydawca: [[DEBUG]] installing file.sig to @WD_DST@/proj wydawca: [[INFO]] errors: 0 wydawca: [[INFO]] warnings: 0 wydawca: [[INFO]] bad signatures: 0 wydawca: [[INFO]] access violation attempts: 0 wydawca: [[INFO]] complete triplets: 1 wydawca: [[INFO]] incomplete triplets: 0 wydawca: [[INFO]] bad triplets: 0 wydawca: [[INFO]] expired triplets: 0 wydawca: [[INFO]] triplet successes: 1 wydawca: [[INFO]] files uploaded: 2 wydawca: [[INFO]] files archived: 0 wydawca: [[INFO]] symlinks created: 0 wydawca: [[INFO]] symlinks removed: 0 wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) finished ]) AT_CHECK([ wydawca_init_testdirs wydawca_config wydawca.rc wydawca_upload file file.directive.asc file.sig wydawca_expandmeta template experr wydawca --no-preproc --dry-run -c wydawca.rc ], [0], [], [experr]) wydawca_clean_testdirs AT_CLEANUP