aboutsummaryrefslogtreecommitdiff
path: root/tests/check-fail.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-fail.at')
-rw-r--r--tests/check-fail.at16
1 files changed, 6 insertions, 10 deletions
diff --git a/tests/check-fail.at b/tests/check-fail.at
index f330a2e..268ca47 100644
--- a/tests/check-fail.at
+++ b/tests/check-fail.at
@@ -17,14 +17,14 @@
AT_SETUP([Verification test failure])
AT_KEYWORDS([uploads check-test check-fail])
-AT_DATA([template],
+AT_DATA([experr],
[wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) started
wydawca: [[NOTICE]] file.directive.asc: VERSION: 1.1
wydawca: [[NOTICE]] file.directive.asc: COMMENT: Gnupload for Wydawca testsuite
wydawca: [[ERR]] spool check script for file@ckfail returned 1
-wydawca: [[NOTICE]] removing @WY_SRC@/fail/file
-wydawca: [[NOTICE]] removing @WY_SRC@/fail/file.sig
-wydawca: [[NOTICE]] removing @WY_SRC@/fail/file.directive.asc
+wydawca: [[NOTICE]] removing ./source/fail/file
+wydawca: [[NOTICE]] removing ./source/fail/file.sig
+wydawca: [[NOTICE]] removing ./source/fail/file.directive.asc
wydawca: [[INFO]] errors: 1
wydawca: [[INFO]] warnings: 0
wydawca: [[INFO]] bad signatures: 0
@@ -43,18 +43,14 @@ wydawca: [[NOTICE]] AT_PACKAGE_TARNAME (AT_PACKAGE_NAME AT_PACKAGE_VERSION) fini
])
AT_CHECK([
-wydawca_init_testdirs
wydawca_config wydawca.cf
wydawca_upload fail file
-wydawca_expandmeta template experr
-
-wydawca $WY_FORCE --no-preproc -c wydawca.cf
+wydawca $WY_FORCE --no-preproc -c wydawca.cf 2>err
+cat err | cwdrepl >&2
],
[0],
[],
[experr])
-wydawca_clean_testdirs
-
AT_CLEANUP

Return to:

Send suggestions and report system problems to the System administrator.