On 10/16/2014 11:51 AM, Pádraig Brady wrote:
BTW, I just noticed a separate issue while looking
at /proc usage in the tests, which the following should fix up.

thanks,
Pádraig.

commit 437f24764963ca2935e1bce368667f8270275a4b
Author: Pádraig Brady <[email protected]>
Date:   Thu Oct 16 10:33:46 2014 +0100

     tests: fix test hang with unstable inodes in /proc

     * cp/proc-zero-len.sh: Search the 'err' file
     for the error to ignore, not stdin.

diff --git a/tests/cp/proc-zero-len.sh b/tests/cp/proc-zero-len.sh
index 3fcd5aa..8dd8460 100755
--- a/tests/cp/proc-zero-len.sh
+++ b/tests/cp/proc-zero-len.sh
@@ -31,7 +31,7 @@ cat $f > out || fail=1
  # number of the file changed during the cp run.
  cp $f exp 2>err \
    || { fail=1;
-       grep 'replaced while being copied' \
+       grep 'replaced while being copied' err \
           && skip_ "File $f is being replaced while being copied"; }

  # Don't simply compare contents; they might differ,


oops, that slipped in by my commit v8.22-6-gd134211, sorry.
The fix looks good, of course. Thanks!

Have a nice day,
Berny

Reply via email to