path: root/tests
authorSergey Poznyakoff <>2009-02-21 10:53:43 (GMT)
committer Sergey Poznyakoff <>2009-02-21 10:53:43 (GMT)
commit12fd740c530106f4a74c5ff2c6ce6d0ea305ab70 (patch) (side-by-side diff)
tree6064e3770a3fa4210443cfc9f8cd390b932aee94 /tests
parent62758ace16e756050f15b81e66ee5ab3bdd062ab (diff)
Implement per-directory notifications
* src/config.c (default_notification): New static. (cb_notify_event): Explicitly link new notification to the chain. (directory_kw): New keyword "notify-event". (cb_directory): Use previously defined global notifications. * src/mail.c (register_notification): Remove. (notify): Tak a list of notifications to run as an argument. * src/directive.c, src/gpg.c, src/verify.c: Update calls to notify. * src/wydawca.h (struct directory_pair.notification): New member. * tests/ Define notifications before the directory pair in the configuration file.
Diffstat (limited to 'tests') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ b/tests/
index 06c26c8..ca57846 100644
--- a/tests/
+++ b/tests/
@@ -76,7 +76,8 @@ s,^-[[rwx-]]\{9\} @USER@.*file.sig$,listing of file.sig,
wydawca_config wydawca.rc
-cat $WD_CONFSRC/notify.rc >> wydawca.rc
+mv wydawca.rc simple.rc
+cat $WD_CONFSRC/notify.rc simple.rc > wydawca.rc
wydawca_upload file file.directive.asc file.sig
wydawca_expandmeta errtmpl experr

Return to:

Send suggestions and report system problems to the System administrator.