summaryrefslogtreecommitdiffabout
path: root/tests/upload-dry.at
Side-by-side diff
Diffstat (limited to 'tests/upload-dry.at') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/upload-dry.at17
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/upload-dry.at b/tests/upload-dry.at
index 2116af2..e2e4063 100644
--- a/tests/upload-dry.at
+++ b/tests/upload-dry.at
@@ -21,9 +21,6 @@ AT_DATA([template],
wydawca: [[DEBUG]] @WD_SRC@/ok -> @WD_DST@
wydawca: [[DEBUG]] @WD_SRC@/fail -> @WD_DST@
wydawca: [[DEBUG]] @WD_SRC@/test -> @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) <bug-wydawca@gnu.org.ua>
@@ -51,17 +48,23 @@ wydawca: [[INFO]] check failures: 0
wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) finished
])
-AT_CHECK([
+AT_CHECK([AT_SORT_PREREQ
wydawca_init_testdirs
wydawca_config wydawca.rc
wydawca_upload test file
wydawca_expandmeta template experr
-
-wydawca --no-preproc --dry-run -c wydawca.rc
+set -e
+wydawca --no-preproc --dry-run -c wydawca.rc 2>err
+set +e
+grep "found file" err | sort
+grep -v "found file" err >&2
],
[0],
-[],
+[wydawca: [[DEBUG]] found file file.directive.asc: signed upload directive, stem: file
+wydawca: [[DEBUG]] found file file.sig: detached signature, stem: file
+wydawca: [[DEBUG]] found file file: distributive, stem: file
+],
[experr])
wydawca_clean_testdirs

Return to:

Send suggestions and report system problems to the System administrator.