diff options
Diffstat (limited to 'tests/upload-dry.at')
-rw-r--r-- | tests/upload-dry.at | 17 |
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], | |||
21 | wydawca: [[DEBUG]] @WD_SRC@/ok -> @WD_DST@ | 21 | wydawca: [[DEBUG]] @WD_SRC@/ok -> @WD_DST@ |
22 | wydawca: [[DEBUG]] @WD_SRC@/fail -> @WD_DST@ | 22 | wydawca: [[DEBUG]] @WD_SRC@/fail -> @WD_DST@ |
23 | wydawca: [[DEBUG]] @WD_SRC@/test -> @WD_DST@ | 23 | wydawca: [[DEBUG]] @WD_SRC@/test -> @WD_DST@ |
24 | wydawca: [[DEBUG]] found file file: distributive, stem: file | ||
25 | wydawca: [[DEBUG]] found file file.directive.asc: signed upload directive, stem: file | ||
26 | wydawca: [[DEBUG]] found file file.sig: detached signature, stem: file | ||
27 | wydawca: [[DEBUG]] processing spool test (@WD_DST@) | 24 | wydawca: [[DEBUG]] processing spool test (@WD_DST@) |
28 | wydawca: [[DEBUG]] FILE file, DIST=file, SIG=file.sig, DIRECTIVE=file.directive.asc | 25 | wydawca: [[DEBUG]] FILE file, DIST=file, SIG=file.sig, DIRECTIVE=file.directive.asc |
29 | wydawca: [[NOTICE]] Good signature from Wydawca (Testsuite) <bug-wydawca@gnu.org.ua> | 26 | wydawca: [[NOTICE]] Good signature from Wydawca (Testsuite) <bug-wydawca@gnu.org.ua> |
@@ -51,17 +48,23 @@ wydawca: [[INFO]] check failures: 0 | |||
51 | wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) finished | 48 | wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) finished |
52 | ]) | 49 | ]) |
53 | 50 | ||
54 | AT_CHECK([ | 51 | AT_CHECK([AT_SORT_PREREQ |
55 | wydawca_init_testdirs | 52 | wydawca_init_testdirs |
56 | wydawca_config wydawca.rc | 53 | wydawca_config wydawca.rc |
57 | wydawca_upload test file | 54 | wydawca_upload test file |
58 | 55 | ||
59 | wydawca_expandmeta template experr | 56 | wydawca_expandmeta template experr |
60 | 57 | set -e | |
61 | wydawca --no-preproc --dry-run -c wydawca.rc | 58 | wydawca --no-preproc --dry-run -c wydawca.rc 2>err |
59 | set +e | ||
60 | grep "found file" err | sort | ||
61 | grep -v "found file" err >&2 | ||
62 | ], | 62 | ], |
63 | [0], | 63 | [0], |
64 | [], | 64 | [wydawca: [[DEBUG]] found file file.directive.asc: signed upload directive, stem: file |
65 | wydawca: [[DEBUG]] found file file.sig: detached signature, stem: file | ||
66 | wydawca: [[DEBUG]] found file file: distributive, stem: file | ||
67 | ], | ||
65 | [experr]) | 68 | [experr]) |
66 | 69 | ||
67 | wydawca_clean_testdirs | 70 | wydawca_clean_testdirs |