bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] The cat isn't where you expect it


From: Ludovic Courtès
Subject: [bug-mailutils] The cat isn't where you expect it
Date: Fri, 10 Sep 2010 14:07:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello!

The attached patch was needed on NixOS GNU/Linux where the only file in
/bin is ‘sh’.

Thanks,
Ludo’.

Fix absolute path to `cat'.

--- mailutils-2.2/testsuite/lib/mailutils.exp   2010-09-10 13:39:58.000000000 
+0200
+++ mailutils-2.2/testsuite/lib/mailutils.exp   2010-09-10 13:40:00.000000000 
+0200
@@ -719,7 +719,7 @@ proc mu_test_file {args} {
         set pattern [lrange $args 1 end]
     }
     
-    set res [remote_spawn host "/bin/cat $filename"]
+    set res [remote_spawn host "cat $filename"]
     if { $res < 0 || $res == "" } {
        perror "Reading $filename failed."
        return 1;

Attachment: pgpTsw2R7TttT.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]