Mailinglist Archive: opensuse-commit (1124 mails)

< Previous Next >
commit yast2-mail
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 20 Apr 2007 23:34:38 +0200
  • Message-id: <20070420213439.5379E678185@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-mail
checked in at Fri Apr 20 23:34:38 CEST 2007.

--------
--- yast2-mail/yast2-mail.changes       2007-04-20 00:19:07.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-mail/yast2-mail.changes  2007-04-20 22:02:06.692150000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 20 22:01:28 CEST 2007 - varkoly@xxxxxxx
+
+- we need the package yast2-mail-aliases too
+- 2.15.5 
+
+-------------------------------------------------------------------

Old:
----
  yast2-mail-2.15.4.tar.bz2

New:
----
  yast2-mail-2.15.5.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-mail.spec ++++++
--- /var/tmp/diff_new_pack.L11120/_old  2007-04-20 23:34:26.000000000 +0200
+++ /var/tmp/diff_new_pack.L11120/_new  2007-04-20 23:34:26.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package yast2-mail (Version 2.15.4)
+# spec file for package yast2-mail (Version 2.15.5)
 #
 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
 # norootforbuild
 
 Name:           yast2-mail
-Version:        2.15.4
+Version:        2.15.5
 Release:        1
 License:        GNU General Public License (GPL)
 Group:          System/YaST
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-mail-2.15.4.tar.bz2
+Source0:        yast2-mail-2.15.5.tar.bz2
 prefix:                /usr
 BuildRequires:  perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
 BuildRequires:  yast2-ldap-server yast2-network yast2-perl-bindings yast2-users
@@ -67,7 +67,7 @@
     Martin Vidner <mvidner@xxxxxxx>
 
 %prep
-%setup -n yast2-mail-2.15.4
+%setup -n yast2-mail-2.15.5
 
 %build
 %{prefix}/bin/y2tool y2autoconf
@@ -97,30 +97,67 @@
 %dir /usr/share/YaST2/clients
 /usr/share/YaST2/clients/*
 %dir /usr/share/YaST2/modules
-/usr/share/YaST2/modules/*
+/usr/share/YaST2/modules/Mail.ybc
+/usr/share/YaST2/modules/MailServer.ybc
+/usr/share/YaST2/modules/UsersPluginMail.pm
+/usr/share/YaST2/modules/MailServer.ycp
+/usr/share/YaST2/modules/Mail.ycp
 %dir /usr/share/YaST2/modules/YaPI
 /usr/share/YaST2/modules/YaPI/Mail*
 %dir %{prefix}/share/applications/YaST2
 %{prefix}/share/applications/YaST2/mail.desktop
-# known bug I can not find it
-#%dir /usr/share/YaST2/schema/autoyast/rnc
-#/usr/share/YaST2/schema/autoyast/rnc/mail.rnc
+%dir /usr/share/YaST2/schema/autoyast/rnc
+/usr/share/YaST2/schema/autoyast/rnc/mail.rnc
 %dir /usr/share/YaST2/scrconf
-/usr/share/YaST2/scrconf/*
+/usr/share/YaST2/scrconf/cfg_amavis.scr
+/usr/share/YaST2/scrconf/cfg_postfix.scr
+/usr/share/YaST2/scrconf/cfg_sendmail.scr
+/usr/share/YaST2/scrconf/mail_p_auth.scr
+/usr/share/YaST2/scrconf/mail_p_canonical.scr
+/usr/share/YaST2/scrconf/mail_p_virtual.scr
+/usr/share/YaST2/scrconf/mail_s_auth.scr
+/usr/share/YaST2/scrconf/mail_s_generics.scr
+/usr/share/YaST2/scrconf/mail_s_virtuser.scr
+/usr/share/YaST2/scrconf/cfg_fetchmail.scr
+/usr/share/YaST2/scrconf/etc_imapd_conf.scr
+/usr/share/YaST2/scrconf/mail_cyrusconf.scr
+/usr/share/YaST2/scrconf/mail_ldaptable.scr
+/usr/share/YaST2/scrconf/mail_maincf.scr
+/usr/share/YaST2/scrconf/mail_mastercf.scr
+/usr/share/YaST2/scrconf/mail_saslpasswd.scr
 %dir /usr/lib/YaST2/servers_non_y2
-/usr/lib/YaST2/servers_non_y2/*
-%dir /usr/lib/YaST2/servers_non_y2/
-/usr/lib/YaST2/servers_non_y2/*
-%doc %{prefix}/share/doc/packages/yast2-mail
+/usr/lib/YaST2/servers_non_y2/ag_cyrus_conf
+/usr/lib/YaST2/servers_non_y2/ag_fetchmailrc
+/usr/lib/YaST2/servers_non_y2/ag_mailconfig
+/usr/lib/YaST2/servers_non_y2/ag_mail_ldaptable
+/usr/lib/YaST2/servers_non_y2/ag_mailtable
+/usr/lib/YaST2/servers_non_y2/ag_postfix_mastercf
+/usr/lib/YaST2/servers_non_y2/ag_smtp_auth
+/usr/lib/YaST2/servers_non_y2/CyrusConfParser.pm
+/usr/lib/YaST2/servers_non_y2/MasterCFParser.pm
 %dir /etc/openldap/schema/
 /etc/openldap/schema/suse-mailserver.schema
 /etc/permissions.d/mail-server*
-%dir /etc/openldap/schema/autoyast/
-%dir /etc/openldap/schema/autoyast/rnc/
-/etc/openldap/schema/autoyast/rnc/mail.rnc
 %doc %{prefix}/share/doc/packages/yast2-mail
 
+%files aliases
+%defattr(-,root,root)
+%dir /usr/share/YaST2/modules
+/usr/share/YaST2/modules/MailAliases.y*
+/usr/share/YaST2/modules/MailTable.pm
+/usr/share/YaST2/modules/MailTableInclude.pm
+%dir /usr/share/YaST2/scrconf
+/usr/share/YaST2/scrconf/cfg_mail.scr
+/usr/share/YaST2/scrconf/mail_aliases.scr
+/usr/share/YaST2/scrconf/mail_fetchmail.scr
+%dir /usr/lib/YaST2/servers_non_y2
+/usr/lib/YaST2/servers_non_y2/ag_fetchmailrc
+/usr/lib/YaST2/servers_non_y2/ag_mailtable
+
 %changelog
+* Fri Apr 20 2007 - varkoly@xxxxxxx
+- we need the package yast2-mail-aliases too
+- 2.15.5
 * Thu Apr 19 2007 - varkoly@xxxxxxx
 - First merged version with yast2-mail-server
 - 2.15.4

++++++ yast2-mail-2.15.4.tar.bz2 -> yast2-mail-2.15.5.tar.bz2 ++++++
++++ 1617 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/configure.in new/yast2-mail-2.15.5/configure.in
--- old/yast2-mail-2.15.4/configure.in  2007-04-20 00:11:52.000000000 +0200
+++ new/yast2-mail-2.15.5/configure.in  2007-04-20 21:58:50.000000000 +0200
@@ -3,7 +3,7 @@
 dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-mail, 2.15.4, http://bugs.opensuse.org/, yast2-mail)
+AC_INIT(yast2-mail, 2.15.5, http://bugs.opensuse.org/, yast2-mail)
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])
 
@@ -17,7 +17,7 @@
 AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
 
 dnl Important YaST2 variables
-VERSION="2.15.4"
+VERSION="2.15.5"
 RPMNAME="yast2-mail"
 MAINTAINER="Peter Varkoly <varkoly@xxxxxxxxxx>"
 
@@ -160,7 +160,6 @@
 permissions/Makefile
 src/YaPI/Makefile
 src/Makefile
-testsuite/Makefile
 users-plugin/Makefile)
 AC_OUTPUT
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/Makefile.am new/yast2-mail-2.15.5/Makefile.am
--- old/yast2-mail-2.15.4/Makefile.am   2007-04-20 00:11:52.000000000 +0200
+++ new/yast2-mail-2.15.5/Makefile.am   2007-04-20 21:58:50.000000000 +0200
@@ -214,5 +214,5 @@
        test ! -d $(srcdir)/po || $(MAKE) -C po checkpo
 #      test ! -d $(srcdir)/po \
 #        || { $(MAKE) -C po checkpo && $(MAKE) -C po make-pox; }
-# No ./SUBDIRS file found - assuming default: All direct subdirs with Makefile.am
-SUBDIRS = agents doc permissions src testsuite users-plugin 
+# Contents of ./SUBDIRS
+SUBDIRS = agents doc permissions src users-plugin 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/src/mail-server.ycp new/yast2-mail-2.15.5/src/mail-server.ycp
--- old/yast2-mail-2.15.4/src/mail-server.ycp   2007-04-19 17:12:59.000000000 +0200
+++ new/yast2-mail-2.15.5/src/mail-server.ycp   2007-04-20 21:56:40.000000000 +0200
@@ -24,6 +24,8 @@
 import "Progress";
 import "Report";
 import "Summary";
+import "Popup";
+import "Label";
 
 import "CommandLine";
 include "mail/mail-server_wizards.ycp";
@@ -46,6 +48,29 @@
     ]
 ];
 
+/*
+   after merging yast2-mail and yast2-mail-server we have to be
+   carefull not to corrupt the configuration of the other modul
+*/
+if( SCR::Read (.sysconfig.mail.MAIL_CREATE_CONFIG)== "yes" )
+{
+       if(
+           ! Popup::AnyQuestionRichText(
+               Label::WarningMsg(),
+               _("You have configured your MTA without LDAP support.<br>") +
+               _("This modul will configure your MTA with LDAP support.<br>")  +
+               _("This will corrupt your actuall configuration."),
+               80, 10,
+               Label::ContinueButton(),
+               Label::CancelButton(),
+               `focus_no
+            )
+         )
+         {
+            return nil;
+         }
+}
+
 /* is this proposal or not? */
 boolean propose = false;
 list args = WFM::Args();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/src/mail.ycp new/yast2-mail-2.15.5/src/mail.ycp
--- old/yast2-mail-2.15.4/src/mail.ycp  2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/src/mail.ycp  2007-04-20 21:56:40.000000000 +0200
@@ -11,7 +11,7 @@
  * Authors:
  *   Martin Vidner <mvidner@xxxxxxx>
  *
- * $Id: mail.ycp 24825 2005-08-11 15:01:22Z mvidner $
+ * $Id: mail.ycp 37642 2007-04-20 19:06:52Z varkoly $
  *
  * Main file for mail configuration. Uses all other files.
  *
@@ -37,7 +37,8 @@
     import "CommandLine";
     import "Mail";
     import "RichText";
-
+    import "Popup";
+    import "Label";
     include "mail/ui.ycp";
 
     /* The main () */
@@ -99,6 +100,31 @@
        ]
     ];
 
+    /*
+       after merging yast2-mail and yast2-mail-server we have to be
+       carefull not to corrupt the configuration of the other modul
+    */
+    map local_recipient_maps = (map) SCR::Read (.mail.ldaptable, "local_recipient_maps");
+y2milestone("local_recipient_maps: %1",local_recipient_maps);
+    if( local_recipient_maps != nil )
+    {
+       if(
+           ! Popup::AnyQuestionRichText(
+               Label::WarningMsg(),
+               _("You have configured your MTA with LDAP support.<br>") +
+               _("This modul will configure your MTA without LDAP support.<br>")  +
+               _("This will corrupt your actuall configuration."),
+               80, 10,
+               Label::ContinueButton(),
+               Label::CancelButton(),
+               `focus_no
+            )
+         )
+         {
+            return nil;
+         }
+    }
+
     /* main ui function */
     any ret = (preselect_connection_type == nil) ?
        CommandLine::Run (cmdline_description) : MailSequence ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/src/Makefile.am new/yast2-mail-2.15.5/src/Makefile.am
--- old/yast2-mail-2.15.4/src/Makefile.am       2007-04-19 17:50:24.000000000 +0200
+++ new/yast2-mail-2.15.5/src/Makefile.am       2007-04-20 21:58:45.000000000 +0200
@@ -1,13 +1,13 @@
 #
 # Makefile.am for y2c_mail/src
 #
-# $Id: Makefile.am 35035 2007-01-02 14:35:30Z mvidner $
+# $Id: Makefile.am 37642 2007-04-20 19:06:52Z varkoly $
 #
 
 SUBDIRS = YaPI
 
 myyncludedir = $(yncludedir)/mail
-schemadir  = /etc/openldap/schema
+ldapschemadir  = /etc/openldap/schema
 
 client_DATA =                  \
        mail.ycp                \
@@ -40,7 +40,7 @@
        \
        MailServer.ycp
 
-schema_DATA = suse-mailserver.schema
+ldapschema_DATA = suse-mailserver.schema
 
 rncdir =  $(schemadir)/autoyast/rnc
 rnc_DATA = mail.rnc
@@ -51,6 +51,6 @@
 ycpchook = mail
 
 EXTRA_DIST = $(client_DATA) $(myynclude_DATA) $(module_DATA) $(desktop_DATA) $(rnc_DATA) \
-             $(schema_DATA)
+             $(ldapschema_DATA)
 
 include $(top_srcdir)/Makefile.am.common
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/SUBDIRS new/yast2-mail-2.15.5/SUBDIRS
--- old/yast2-mail-2.15.4/SUBDIRS       1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-mail-2.15.5/SUBDIRS       2007-04-20 21:56:40.000000000 +0200
@@ -0,0 +1 @@
+agents doc permissions src users-plugin 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/lib/yast2_epag.exp new/yast2-mail-2.15.5/testsuite/lib/yast2_epag.exp
--- old/yast2-mail-2.15.4/testsuite/lib/yast2_epag.exp  2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/lib/yast2_epag.exp  1970-01-01 01:00:00.000000000 +0100
@@ -1,88 +0,0 @@
-#
-# test library for External Parser AGents
-# Martin Vidner <mvidner@xxxxxxx>
-# adapted from testsuite-run of yast2-testsuite
-#
-
-
-proc run_epag_tests { agent_basename } {
-    global srcdir
-
-    set test_cases [lsort [glob $srcdir/tests.epag/*.run]]
-    set agent "$srcdir/../agents/$agent_basename"
-
-    foreach test_case $test_cases {
-       run_case $test_case $agent
-    }
-}
-
-# helper
-proc llast { alist } {
-    return [lindex $alist [expr [llength $alist]-1]]
-}
-
-# $run - the test case control file
-# $ag  - agent executable
-proc run_case { run ag } {
-    global srcdir
-
-    # extract basename and check extension
-    set path [split $run "/"]
-    set filename [llast $path]
-    set filename_l [split $filename "."]
-    # setup filenames
-    set base_name [lindex $filename_l 0]
-    # TODO better path, using srcdir
-    set tests_ag "$srcdir/tests.epag"
-    # TODO better path, using srcdir
-    set tmpdir "./tmp"
-    # $run is the name of the original testfile with absolute path
-    # tests.ag/$filename is the name of the original testfile
-    # with relative path, relative to the testsuite directory
-
-    set r_data_name "$tests_ag/$base_name.r.data"
-    set rw_ycp_name "$tests_ag/$base_name.rw.ycp"
-    set rw_ycp_tmp_name "$tmpdir/$base_name.rw.ycp.tmp"
-    set w_data_name "$tests_ag/$base_name.w.data"
-    set w_data_tmp_name "$tmpdir/$base_name.w.data.tmp"
-
-    # indented by one space
-    puts " Running $run ..."
-
-    if {[regexp ".*\.r\.run" $run]} {
-       if {[run-one "read"  $r_data_name $rw_ycp_name $rw_ycp_tmp_name $run $ag] != 0 } {
-           return -1
-       }
-    } elseif {[regexp ".*\.w\.run" $run]} {
-       if {[run-one "write" $rw_ycp_name $w_data_name $w_data_tmp_name $run $ag] != 0} {
-           return -1
-       }
-    } else {
-       warning "Don't know how to run $run"
-    }
-
-    return 0
-}
-
-proc run-one { mode in_f out_f out_tmp_f run ag } {
-  # run the test
-
-  set result ""
-  set oops [catch {
-      set result [exec "run/runtest-epag.sh" "$mode" "$in_f" "$out_f" "$out_tmp_f" "$run" "$ag" ]
-  } catched]
-
-  if {$oops != 0} {
-    fail "Test case failed for $run:\n$catched"
-    return -1
-  }
-
-  # check return code - ???
-  if {$result != ""} {
-    warning "Compilation of $run results in '$result'"
-    return -1
-  }
-
-  pass $run
-  return 0
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/Makefile.am new/yast2-mail-2.15.5/testsuite/Makefile.am
--- old/yast2-mail-2.15.4/testsuite/Makefile.am 2007-03-21 12:03:11.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-#
-# Makefile.am for .../testsuite
-#
-
-AUTOMAKE_OPTIONS = dejagnu
-
-ycp_testfiles = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
-
-epag_misc = lib/yast2_epag.exp run/runtest-epag.sh
-epag_testfiles = $(wildcard $(RPMNAME).test/ag_*.exp tests.epag/*.[rw].run tests.epag/*.[rw].data tests.epag/*.rw.ycp)
-EXTRA_DIST = $(ycp_testfiles) $(epag_testfiles) $(epag_misc)
-
-testsuite_prepare = @ydatadir@/testsuite/Makefile.testsuite
-
-# explicitly list files we want for the ycp tests
-# don't mess with: Makefile.am .cvsignore
-all-local: $(testsuite_prepare)
-       make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) \
-               dirs \
-               config/default.exp config/unix.exp config/unknown.exp \
-               run/runtest.sh $(RPMNAME).test/testsuite.exp
-       mkdir -p tmp
-
-clean-local: $(testsuite_prepare)
-       make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) clean
-
-check-local: $(testsuite_prepare)
-       make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) check
-
-# EOF
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/run/runtest-epag.sh new/yast2-mail-2.15.5/testsuite/run/runtest-epag.sh
--- old/yast2-mail-2.15.4/testsuite/run/runtest-epag.sh 2007-04-19 17:26:37.000000000 +0200
+++ new/yast2-mail-2.15.5/testsuite/run/runtest-epag.sh 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-#! /bin/bash
-# $Id: runtest-epag.sh 13709 2004-01-30 16:08:25Z mvidner $
-
-# params:
-# $1 "read" or "write"
-# $2 input file name
-# $3 output file name (template, expected)
-# $4 output file name (temporary, actual)
-# $5 agent commands file
-# $6 full path of the agent to run
-set -o errexit
-
-# kludge: break up the output into lines
-ADD_LF_BEFORE_MAP='s/\$\[/\
-\$\[/g'
-ADD_LF_AFTER_LAST_COMMA='s/,\] $/,\
-\] /g'
-ADD_LF_AFTER_COMMA_OR_COLON='s/\([:,]\)/\1\
-/g'
-
-NORMALIZE="ycpc -l - -E -"
-
-function run() {
-    IN=$2
-    OUT=$3
-    OUT_TMP=$4
-    export IN OUT OUT_TMP
-    sh $5 \
-       | $NORMALIZE \
-       | $6 -l /dev/stderr \
-       | $NORMALIZE \
-       | sed -e 1d \
-       | sed -e "$ADD_LF_BEFORE_MAP" -e "$ADD_LF_AFTER_LAST_COMMA" #-e "$ADD_LF_AFTER_COMMA_OR_COLON"
-}
-
-# MAIN
-case $1 in
-    read)
-       run ${1+"$@"} > "$4"
-       diff -u "$3" "$4"
-       ;;
-    write)
-       # test it twice - with the file existing and without it
-       rm -f "$4"
-       for i in 1 2; do
-           run ${1+"$@"} > /dev/null
-           diff -u "$3" "$4"
-       done
-       ;;
-    *)
-       echo "$0: Expecting 'read' or 'write' as \$1, got '$1'"
-       exit 1
-esac
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/aliases.out new/yast2-mail-2.15.5/testsuite/tests/aliases.out
--- old/yast2-mail-2.15.4/testsuite/tests/aliases.out   2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/aliases.out   1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#baz
-foo:   bar
-#kuk
-root:  leaf
-#baz2
-foo2:  bar2
-#trailing comment
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/MailServer.out new/yast2-mail-2.15.5/testsuite/tests/MailServer.out
--- old/yast2-mail-2.15.4/testsuite/tests/MailServer.out        2007-04-12 15:05:15.000000000 +0200
+++ new/yast2-mail-2.15.5/testsuite/tests/MailServer.out        1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-Dump   MailServer::Modified
-Return false
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/MailServer.ycp new/yast2-mail-2.15.5/testsuite/tests/MailServer.ycp
--- old/yast2-mail-2.15.4/testsuite/tests/MailServer.ycp        2007-04-12 15:05:15.000000000 +0200
+++ new/yast2-mail-2.15.5/testsuite/tests/MailServer.ycp        1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-{
-
-// testedfiles: MailServer.ycp
-
-include "testsuite.ycp";
-TESTSUITE_INIT([], nil);
-
-import "MailServer";
-
-DUMP("MailServer::Modified");
-TEST(``(MailServer::Modified()), [], nil);
-
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/mergeTables.out new/yast2-mail-2.15.5/testsuite/tests/mergeTables.out
--- old/yast2-mail-2.15.4/testsuite/tests/mergeTables.out       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/mergeTables.out       1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-Return []
-Return [$["comment":" I am r00t!", "key":"root", "value":"auser"], $["comment":" blah", "key":"B.User", "value":"buser"], $["comment":" direct", "key":"usenet", "value":"root"], $["comment":"", "key":"A.User", "value":"auser"], $["comment":" direct", "key":"newsadmin", "value":"root"]]
-Return [$["comment":" Basic system aliases that MUST be present.\n", "key":"postmaster", "value":"root"], $["comment":"", "key":"mailer-daemon", "value":"postmaster"], $["comment":" amavis\n", "key":"virusalert", "value":"root"], $["comment":" General redirections for pseudo accounts in /etc/passwd.\n", "key":"administrator", "value":"root"], $["comment":"", "key":"daemon", "value":"root"], $["comment":"", "key":"nobody", "value":"root"], $["comment":" \"bin\" used to be in /etc/passwd\n", "key":"bin", "value":"root"], $["comment":" Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.\n", "key":"newsadm", "value":"news"], $["comment":"", "key":"newsadmin", "value":"news"], $["comment":"", "key":"usenet", "value":"news"]]
-Return [$["comment":" Basic system aliases that MUST be present.\n", "key":"postmaster", "value":"root"], $["comment":"", "key":"mailer-daemon", "value":"postmaster"], $["comment":" amavis\n", "key":"virusalert", "value":"root"], $["comment":" General redirections for pseudo accounts in /etc/passwd.\n", "key":"administrator", "value":"root"], $["comment":"", "key":"daemon", "value":"root"], $["comment":"", "key":"nobody", "value":"root"], $["comment":" \"bin\" used to be in /etc/passwd\n", "key":"bin", "value":"root"], $["comment":" Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.\n", "key":"newsadm", "value":"news"], $["comment":" direct", "key":"newsadmin", "value":"root"], $["comment":" direct", "key":"usenet", "value":"root"], $["comment":" I am r00t!", "key":"root", "value":"auser"], $["comment":" blah", "key":"B.User", "value":"buser"], $["comment":"", "key":"A.User", "value":"auser"]]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/mergeTables.ycp new/yast2-mail-2.15.5/testsuite/tests/mergeTables.ycp
--- old/yast2-mail-2.15.4/testsuite/tests/mergeTables.ycp       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/mergeTables.ycp       1970-01-01 01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-/**
- * Module:
- *   Mail configuration
- *
- * Summary:
- *   Testsuite
- *
- * Authors:
- *   Martin Vidner <mvidner@xxxxxxx>
- *
- * $Id: mergeTables.ycp 13711 2004-01-30 16:53:07Z mvidner $
- */
-{
-    include "testsuite.ycp";
-    TESTSUITE_INIT ([ $[], $[], $[] ], nil);
-    import "MailAliases";
-
-    list<map> old1 = [
-$["comment":" Basic system aliases that MUST be present.
-","value":"root","key":"postmaster",] ,
-$["comment":"","value":"postmaster","key":"mailer-daemon",] ,
-$["comment":" amavis
-","value":"root","key":"virusalert",] ,
-$["comment":" General redirections for pseudo accounts in /etc/passwd.
-","value":"root","key":"administrator",] ,
-$["comment":"","value":"root","key":"daemon",] ,
-$["comment":"","value":"root","key":"nobody",] ,
-$["comment":" \"bin\" used to be in /etc/passwd
-","value":"root","key":"bin",] ,
-$["comment":" Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
-","value":"news","key":"newsadm",] ,
-$["comment":"","value":"news","key":"newsadmin",] ,
-$["comment":"","value":"news","key":"usenet",] ,
-];
-    list<map> new1 = [
-       $[ "key": "root", "value": "auser", "comment": " I am r00t!",],
-       $[ "key": "B.User", "value": "buser", "comment": " blah",],
-       $[ "key": "usenet", "value": "root", "comment": " direct",],
-       $[ "key": "A.User", "value": "auser", "comment": "",],
-       $[ "key": "newsadmin", "value": "root", "comment": " direct",],
-       ];
-
-    TEST (``(MailAliases::mergeTables ([], [])), [], nil);
-    TEST (``(MailAliases::mergeTables (new1, [])), [], nil);
-    TEST (``(MailAliases::mergeTables ([], old1)), [], nil);
-    TEST (``(MailAliases::mergeTables (new1, old1)), [], nil);
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/readwrite.out new/yast2-mail-2.15.5/testsuite/tests/readwrite.out
--- old/yast2-mail-2.15.4/testsuite/tests/readwrite.out 2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/readwrite.out 1970-01-01 01:00:00.000000000 +0100
@@ -1,66 +0,0 @@
-Execute        .target.bash "rpm -q --whatprovides sendmail" 0
-Read   .sysconfig.mail.MAIL_CREATE_CONFIG "yes"
-Read   .sysconfig.mail.SMTPD_LISTEN_REMOTE "yes"
-Execute        .target.bash "rpm -q --whatprovides SuSEfirewall2" 0
-Read   .init.scripts.exists "SuSEfirewall2_init" true
-Read   .init.scripts.runlevel "SuSEfirewall2_init" $["SuSEfirewall2_final":$["start":[]], "SuSEfirewall2_init":$["start":[]], "SuSEfirewall2_setup":$["start":[]], "amavis":$["start":["3", "5"], "stop":["3", "5"]], "fetchmail":$["start":["3", "5"], "stop":["3", "5"]], "postfix":$["start":["3", "5"], "stop":["3", "5"]], "sendmail":$["start":["3", "5"], "stop":["3", "5"]]]
-Read   .init.scripts.exists "SuSEfirewall2_init" true
-Execute        .target.bash "/etc/init.d/SuSEfirewall2_init status" $["TERM":"raw"] 0
-Read   .sysconfig.sendmail.SENDMAIL_NOCANONIFY "no"
-Read   .sysconfig.sendmail.SENDMAIL_EXPENSIVE "no"
-Execute        .target.bash "rpm -q --whatprovides amavisd-new" 0
-Read   .sysconfig.amavis.USE_AMAVIS "yes"
-Read   .sysconfig.sendmail.SENDMAIL_LOCALHOST ""
-Read   .sysconfig.sendmail.SENDMAIL_SMARTHOST ""
-Read   .sysconfig.mail.FROM_HEADER "foo.test"
-Read   .sysconfig.sendmail.MASQUERADE_DOMAINS ""
-Execute        .target.bash_output "/usr/bin/id --user" $["exit":0, "stderr":"", "stdout":""]
-Read   .mail.fetchmail.accounts []
-Read   .mail.sendmail.auth.accounts [$["more":1, "password":"p", "server":"s", "user":"u"]]
-Read   .sysconfig.sendmail.SMTP_AUTH_MECHANISMS ""
-Return true
-Write  .sysconfig.mail.MAIL_CREATE_CONFIG "yes" true
-Write  .sysconfig.mail.SMTPD_LISTEN_REMOTE "yes" true
-Write  .sysconfig.sendmail.SENDMAIL_NOCANONIFY "no" true
-Write  .sysconfig.sendmail.SENDMAIL_EXPENSIVE "no" true
-Read   .init.scripts.exists "sendmail" true
-Read   .init.scripts.exists "sendmail" true
-Read   .init.scripts.exists "sendmail" true
-Read   .init.scripts.runlevel "sendmail" $["SuSEfirewall2_final":$["start":[]], "SuSEfirewall2_init":$["start":[]], "SuSEfirewall2_setup":$["start":[]], "amavis":$["start":["3", "5"], "stop":["3", "5"]], "fetchmail":$["start":["3", "5"], "stop":["3", "5"]], "postfix":$["start":["3", "5"], "stop":["3", "5"]], "sendmail":$["start":["3", "5"], "stop":["3", "5"]]]
-Read   .init.scripts.comment "sendmail" $["amavis":$[], "fetchmail":$[], "postfix":$[], "sendmail":$[]]
-Write  .sysconfig.amavis.USE_AMAVIS "yes" true
-Read   .init.scripts.exists "amavis" true
-Read   .init.scripts.exists "amavis" true
-Read   .init.scripts.runlevel "amavis" $["SuSEfirewall2_final":$["start":[]], "SuSEfirewall2_init":$["start":[]], "SuSEfirewall2_setup":$["start":[]], "amavis":$["start":["3", "5"], "stop":["3", "5"]], "fetchmail":$["start":["3", "5"], "stop":["3", "5"]], "postfix":$["start":["3", "5"], "stop":["3", "5"]], "sendmail":$["start":["3", "5"], "stop":["3", "5"]]]
-Read   .init.scripts.comment "amavis" $["amavis":$[], "fetchmail":$[], "postfix":$[], "sendmail":$[]]
-Read   .sysconfig.sendmail.SENDMAIL_ARGS "-L sendmail -Am -bd -q30m -om"
-Write  .sysconfig.sendmail.SENDMAIL_LOCALHOST "" true
-Write  .sysconfig.sendmail.SENDMAIL_SMARTHOST "" true
-Write  .sysconfig.mail.FROM_HEADER "foo.test" true
-Write  .sysconfig.sendmail.MASQUERADE_DOMAINS "" true
-Write  .mail.fetchmail.accounts [] true
-Write  .mail.fetchmail nil true
-Read   .init.scripts.exists "fetchmail" true
-Read   .init.scripts.exists "fetchmail" true
-Read   .init.scripts.exists "fetchmail" true
-Read   .init.scripts.runlevel "fetchmail" $["SuSEfirewall2_final":$["start":[]], "SuSEfirewall2_init":$["start":[]], "SuSEfirewall2_setup":$["start":[]], "amavis":$["start":["3", "5"], "stop":["3", "5"]], "fetchmail":$["start":["3", "5"], "stop":["3", "5"]], "postfix":$["start":["3", "5"], "stop":["3", "5"]], "sendmail":$["start":["3", "5"], "stop":["3", "5"]]]
-Read   .init.scripts.comment "fetchmail" $["amavis":$[], "fetchmail":$[], "postfix":$[], "sendmail":$[]]
-Execute        .target.bash_output "/sbin/insserv -r /etc/init.d/fetchmail" $["exit":0, "stderr":"", "stdout":""]
-Write  .mail.sendmail.auth.accounts [$["more":1, "password":"p", "server":"s", "user":"u"]] true
-Write  .sysconfig.sendmail.SMTP_AUTH_MECHANISMS "plain gssapi digest-md5 cram-md5" true
-Write  .mail.sendmail.auth nil true
-Write  .sysconfig.amavis nil true
-Write  .sysconfig.mail nil true
-Write  .sysconfig.sendmail nil true
-Execute        .target.bash "/sbin/SuSEconfig --module sendmail" 0
-Read   .init.scripts.exists "amavis" true
-Execute        .target.bash "/etc/init.d/amavis stop" $["TERM":"raw"] 0
-Read   .init.scripts.exists "amavis" true
-Execute        .target.bash "/etc/init.d/amavis start" $["TERM":"raw"] 0
-Read   .init.scripts.exists "fetchmail" true
-Execute        .target.bash "/etc/init.d/fetchmail stop" $["TERM":"raw"] 0
-Read   .init.scripts.exists "sendmail" true
-Execute        .target.bash "/etc/init.d/sendmail restart" $["TERM":"raw"] 0
-Read   .init.scripts.exists "SuSEfirewall2_init" true
-Execute        .target.bash "/etc/init.d/SuSEfirewall2_init status" $["TERM":"raw"] 0
-Return true
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/readwrite.ycp new/yast2-mail-2.15.5/testsuite/tests/readwrite.ycp
--- old/yast2-mail-2.15.4/testsuite/tests/readwrite.ycp 2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/readwrite.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,179 +0,0 @@
-/**
- * Module:
- *   Mail configuration
- * Summary:
- *   Testsuite
- * Authors:
- *   Martin Vidner <mvidner@xxxxxxx>
- *
- * $Id: readwrite.ycp 35039 2007-01-03 12:39:54Z mvidner $
- */
-{
-    // testedfiles: Mail.ycp MailTable.pm MailTableInclude.pm MailAliases.ycp Package.ycp PackageSystem.ycp Report.ycp Require.ycp Service.ycp Testsuite.ycp
-
-    include "testsuite.ycp";
-
-    map READ = $[
-       // Runlevel:
-       "init": $[
-           "scripts": $[
-               "exists": true,
-               "runlevel": $[
-                   "sendmail": $[
-                       "start": [ "3", "5"],
-                       "stop":        [ "3", "5"],
-                       ],
-                   "postfix": $[
-                       "start": [ "3", "5"],
-                       "stop":        [ "3", "5"],
-                       ],
-                   "amavis": $[
-                       "start": [ "3", "5"],
-                       "stop":        [ "3", "5"],
-                       ],
-                   "fetchmail": $[
-                       "start": [ "3", "5"],
-                       "stop":        [ "3", "5"],
-                       ],
-                   "SuSEfirewall2_init": $[
-                       "start": [],
-                       ],
-                   "SuSEfirewall2_setup": $[
-                       "start": [],
-                       ],
-                   "SuSEfirewall2_final": $[
-                       "start": [],
-                       ],
-                   ],
-               // their contents is not important for ServiceAdjust
-               "comment": $[
-                   "sendmail": $[],
-                   "postfix": $[],
-                   "amavis": $[],
-                   "fetchmail": $[],
-                   ],
-               ],
-           ],
-       // Mail itself:
-       "sysconfig": $[
-           "mail": $[
-               "MAIL_CREATE_CONFIG": "yes",
-               "SMTPD_LISTEN_REMOTE": "yes",
-               "FROM_HEADER": "foo.test",
-               ],
-           "amavis": $[
-               "USE_AMAVIS": "yes",
-               ],
-           "sendmail": $[
-               "SENDMAIL_NOCANONIFY": "no",
-               "SENDMAIL_EXPENSIVE": "no",
-               "SENDMAIL_LOCALHOST": "",
-               "SENDMAIL_SMARTHOST": "",
-               "MASQUERADE_DOMAINS": "",
-               // TODO: check for a new default in the installed system?
-               // (evade the dummy agent, neededforbuild sendmail)
-               "SENDMAIL_ARGS": "-L sendmail -Am -bd -q30m -om",
-               "SMTP_AUTH_MECHANISMS": "",
-               ],
-           ],
-       "mail": $[
-           "sendmail": $[
-               "generics": $[
-                   "table": [
-                       ],
-                   ],
-               "virtuser": $[
-                   "table": [
-                       ],
-                   ],
-               "auth": $[
-                   "accounts": [
-                       $["server": "s", "user": "u", "password": "p",
-                         "more": 1],
-                       ],
-                   ],
-               ],
-           "aliases": $[
-               "table": [
-                   ],
-               ],
-           "fetchmail": $[
-               "accounts": [
-                   ],
-               ],
-           ],
-       ];
-
-    map WRITE = $[
-       ];
-
-    map EXECUTE_0 = $[
-       "target": $[
-           "bash": 0,
-           "bash_output": $[
-               "exit": 0,
-               "stdout": "",
-               "stderr": "",
-               ],
-           ],
-       ];
-
-    map EXECUTE_1 = $[
-       "target": $[
-           "bash": 1,
-           "bash_output": $[
-               "exit": 0,
-               "stdout": "",
-               "stderr": "",
-               ],
-           ],
-       ];
-
-    map EXECUTE_INIT = $[
-       "target": $[
-           "bash": 1,
-           "bash_output": $[
-               "exit":0, "stderr":"", "stdout":"charmap=\"UTF-8\"\n"]
-           ],
-       ];
-
-    map READ_INIT = $[
-       "console" : $[
-           "CONSOLE_ENCODING" : "en_US.UTF-8"
-           ],
-       "target" : $[
-           "size" : 1,
-           ],
-       ];
-
-    // added testsuite init, because of firewall
-    TESTSUITE_INIT ([READ_INIT, $[], EXECUTE_INIT], nil);
-
-    import "Progress";
-    import "Mail";
-    import "MailTable";
-
-    MailTable::SetFileName ("aliases", "tests/aliases.out");
-    MailTable::SetFileName ("sendmail.generics", "tests/generics.out");
-    MailTable::SetFileName ("sendmail.virtuser", "tests/virtuser.out");
-
-
-//    Pkg::FAKE (`IsProvided, $["sendmail": true, "amavis-sendmail": true,
-//                           "amavis-postfix": false]);
-
-    block<boolean> dont_abort = ``{return false;};
-    Progress::off ();
-    TEST (``(Mail::Read (dont_abort)), [READ, WRITE, [
-                                           EXECUTE_0, //rpm sendmail
-                                           EXECUTE_0, //rpm amavisd-new
-                                           ]], nil);
-    Mail::write_only = false;
-    TEST (``(Mail::Write (dont_abort)), [READ, WRITE, [
-                                            //EXECUTE_1, //rpm amavis-postfix
-                                            EXECUTE_0, //SuSEconfig
-                                            EXECUTE_0, //amavis stop
-                                            EXECUTE_0, //amavis start
-                                            EXECUTE_0, //sendmail restart
-                                            ]], nil);
-
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/rootalias.out new/yast2-mail-2.15.5/testsuite/tests/rootalias.out
--- old/yast2-mail-2.15.4/testsuite/tests/rootalias.out 2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/rootalias.out 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-Dump   sendmail
-Return leaf
-Return true
-Return true
-Dump   postfix
-Return 
-Return true
-Return true
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests/rootalias.ycp new/yast2-mail-2.15.5/testsuite/tests/rootalias.ycp
--- old/yast2-mail-2.15.4/testsuite/tests/rootalias.ycp 2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests/rootalias.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,62 +0,0 @@
-/**
- * Module:
- *   NIS client configuration
- *
- * Summary:
- *   Testsuite
- *
- * Authors:
- *   Martin Vidner <mvidner@xxxxxxx>
- *
- * $Id: rootalias.ycp 35039 2007-01-03 12:39:54Z mvidner $
- */
-{
-    include "testsuite.ycp";
-    TESTSUITE_INIT ([ $[], $[], $[] ], nil);
-    import "MailTable";
-    import "MailAliases";
-
-    MailTable::SetFileName ("aliases", "tests/aliases.out");
-
-    // the test data is a bit convoluted because formerly
-    // the data was read from .mail.{sendmail,postfix}.aliases.table
-
-    map READ_s = $[
-       // targetpkg:
-       "targetpkg": $[
-           // sendmail
-           "installed": true,
-           ],
-       ];
-
-    map READ_p1 = $[
-       // targetpkg:
-       "targetpkg": $[
-           // sendmail
-           "installed": false,
-           ],
-       ];
-
-    map READ_p2 = $[
-       // targetpkg:
-       "targetpkg": $[
-           // postfix
-           "installed": true,
-           ],
-       ];
-
-    map WRITE = $[
-       ];
-
-    DUMP ("sendmail");
-    TEST (``(MailAliases::GetRootAlias ()), [READ_s], nil);
-    TEST (``(MailAliases::SetRootAlias ("ruut")), [READ_s], nil);
-    TEST (``(MailAliases::SetRootAlias ("")), [READ_s], nil);
-
-    DUMP ("postfix");
-    TEST (``(MailAliases::GetRootAlias ()), [[ READ_p1, READ_p2]], nil);
-    // apparently the dumb^H^H^H^Hdummy aggent reads from the first map
-    // while there's input.
-    TEST (``(MailAliases::SetRootAlias ("ruut")), [[ READ_p1, READ_p2]], nil);
-    TEST (``(MailAliases::SetRootAlias ("")), [[ READ_p1, READ_p2]], nil);
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.r.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.r.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.r.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.r.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
-# Edit carefully, see /usr/share/doc/packages/yast2-config-mail/fetchmailrc.txt
-# empty line
-
-# global option
-set syslog;
-# empty statement
-;
-# ordinary entry
-poll "pop3.foo.com" protocol AUTO:
-     user "barbar" there with password "xxxxxx" is "bar" here;
-# server option with a colon, protocol
-poll "pop3.foo.com" protocol pop3 envelope "X-Envelope-To:" :
-     user "barbar" there with password "xxxxxx" is "bar" here;
-# comment filtering
-skip "pop3.foo.com" protocol AUTO:
-     user 'bar#bar' there with password "xxx#xxx" is "qux" here; # blah
-# strings
-# TODO: allow "foo\"bar"
-poll 'pop3\056mail\46foo\x2ecom' protocol AUTO:
-     user "barbar" there with password "\\'\59xxxxx" is "bar" here;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.r.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.r.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.r.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.r.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$IN"])
-\`Read (.accounts)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.rw.ycp new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.rw.ycp
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.rw.ycp       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.rw.ycp       1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-[
-$["enabled":true, "local_user":"bar", "other_server_options":"", "other_user_options":"", "password":"xxxxxx", "protocol":"AUTO", "remote_user":"barbar", "server":"pop3.foo.com"], 
-$["enabled":true, "local_user":"bar", "other_server_options":"envelope \"X-Envelope-To:\" ", "other_user_options":"", "password":"xxxxxx", "protocol":"POP3", "remote_user":"barbar", "server":"pop3.foo.com"], 
-$["enabled":false, "local_user":"qux", "other_server_options":"", "other_user_options":"", "password":"xxx#xxx", "protocol":"AUTO", "remote_user":"bar#bar", "server":"pop3.foo.com"], 
-$["enabled":true, "local_user":"bar", "other_server_options":"", "other_user_options":"", "password":"\\';xxxxx", "protocol":"AUTO", "remote_user":"barbar", "server":"pop3.mail.foo.com"]]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.w.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.w.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.w.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.w.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
-poll "pop3.foo.com" protocol AUTO : user "barbar" there with password "xxxxxx" is "bar" here ;
-poll "pop3.foo.com" protocol POP3 envelope "X-Envelope-To:" : user "barbar" there with password "xxxxxx" is "bar" here ;
-skip "pop3.foo.com" protocol AUTO : user "bar#bar" there with password "xxx#xxx" is "qux" here ;
-poll "pop3.mail.foo.com" protocol AUTO : user "barbar" there with password "\\'\59xxxxx" is "bar" here ;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.w.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.w.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm1.w.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm1.w.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$OUT_TMP"])
-\`Write (.accounts, `cat $IN`)
-\`Write (., nil)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.r.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.r.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.r.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.r.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-# strings looking as numbers/booleans, #21804
-poll "pop3.foo.com" protocol AUTO:
-     user "31337" there with password "true" is "eleet" here;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.r.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.r.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.r.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.r.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$IN"])
-\`Read (.accounts)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.rw.ycp new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.rw.ycp
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.rw.ycp       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.rw.ycp       1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-[
-$["enabled":true, "local_user":"eleet", "other_server_options":"", "other_user_options":"", "password":"true", "protocol":"AUTO", "remote_user":"31337", "server":"pop3.foo.com"]]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.w.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.w.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.w.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.w.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
-poll "pop3.foo.com" protocol AUTO : user "31337" there with password "true" is "eleet" here ;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.w.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.w.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm2.w.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm2.w.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$OUT_TMP"])
-\`Write (.accounts, `cat $IN`)
-\`Write (., nil)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.r.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.r.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.r.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.r.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-# multidrop: * for local user
-poll "pop3.example.com" protocol AUTO:
-     user "common" there with password "secret" is * here;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.r.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.r.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.r.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.r.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$IN"])
-\`Read (.accounts)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.rw.ycp new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.rw.ycp
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.rw.ycp       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.rw.ycp       1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-[
-$["enabled":true, "local_user":"*", "other_server_options":"", "other_user_options":"", "password":"secret", "protocol":"AUTO", "remote_user":"common", "server":"pop3.example.com"]]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.w.data new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.w.data
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.w.data       2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.w.data       1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
-poll "pop3.example.com" protocol AUTO : user "common" there with password "secret" is * here ;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.w.run new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.w.run
--- old/yast2-mail-2.15.4/testsuite/tests.epag/fm3.w.run        2007-03-21 12:03:10.000000000 +0100
+++ new/yast2-mail-2.15.5/testsuite/tests.epag/fm3.w.run        1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-cat << END
-\`Fetchmail (\$["filename": "$OUT_TMP"])
-\`Write (.accounts, `cat $IN`)
-\`Write (., nil)
-END
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/testsuite/yast2-mail.test/ag_fetchmailrc.exp new/yast2-mail-2.15.5/testsuite/yast2-mail.test/ag_fetchmailrc.exp
--- old/yast2-mail-2.15.4/testsuite/yast2-mail.test/ag_fetchmailrc.exp  2007-04-19 17:26:37.000000000 +0200
+++ new/yast2-mail-2.15.5/testsuite/yast2-mail.test/ag_fetchmailrc.exp  1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#
-# test driver for External Parser AGents
-#
-
-load_lib "yast2_epag.exp"
-# no normalization yet
-#run_epag_tests "ag_fetchmailrc"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-mail-2.15.4/VERSION new/yast2-mail-2.15.5/VERSION
--- old/yast2-mail-2.15.4/VERSION       2007-04-19 17:17:01.000000000 +0200
+++ new/yast2-mail-2.15.5/VERSION       2007-04-20 21:56:40.000000000 +0200
@@ -1 +1 @@
-2.15.4
+2.15.5


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread