Simon Josefsson <[EMAIL PROTECTED]> ha escrit:
> That's the version I tried. As far as I can tell, it still calls out to
> cp:
Ah, indeed. Please, apply the following patch:
Index: imap4d/testsuite/lib/imap4d.exp
diff -pur a/imap4d/testsuite/lib/imap4d.exp b/imap4d/testsuite/lib/imap4d.exp
--- a/imap4d/testsuite/lib/imap4d.exp 2008-08-22 18:54:36.000000000 +0300
+++ b/imap4d/testsuite/lib/imap4d.exp 2008-08-23 14:38:25.923818191 +0300
@@ -119,12 +119,7 @@ proc imap4d_start {args} {
if {$reuse_spool == 0} {
mu_prepare_spools
- set output [remote_exec host \
- "cp $MU_SPOOL_DIR/teaparty.mbox $MU_SPOOL_DIR/INBOX"]
- if [lindex $output 0] {
- perror "Cannot create $MU_SPOOL_DIR/INBOX: [lindex $output 1]"
- exit 1
- }
+ mu_copy_file $MU_SPOOL_DIR/teaparty.mbox $MU_SPOOL_DIR/INBOX
}
return [default_imap4d_start [concat [lrange $args $i end]]]
}
Index: pop3d/testsuite/lib/pop3d.exp
diff -pur a/pop3d/testsuite/lib/pop3d.exp b/pop3d/testsuite/lib/pop3d.exp
--- a/pop3d/testsuite/lib/pop3d.exp 2008-08-22 22:10:52.000000000 +0300
+++ b/pop3d/testsuite/lib/pop3d.exp 2008-08-23 14:38:06.798639134 +0300
@@ -118,12 +118,7 @@ proc pop3d_start {args} {
if {$reuse_spool == 0} {
mu_prepare_spools
- set output [remote_exec host \
- "cp $MU_SPOOL_DIR/teaparty.mbox $MU_SPOOL_DIR/INBOX"]
- if [lindex $output 0] {
- perror "Cannot create $MU_SPOOL_DIR/INBOX: [lindex $output 1]"
- exit 1
- }
+ mu_copy_file $MU_SPOOL_DIR/teaparty.mbox $MU_SPOOL_DIR/INBOX
}
return [default_pop3d_start [concat [lrange $args $i end]]]
}
Regards,
Sergey
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils