Re: [RCS 5.9.3 on MacOS/X] test t805 fails

Thien-Thi Nguyen <[email protected]> Fri, 07 Nov 2014 07:43:58 +0100
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() Thien-Thi Nguyen <[email protected]>
() Fri, 07 Nov 2014 07:28:45 +0100

   replace the command completely

Does this work for you?

--- a/tests/t805
+++ b/tests/t805
@@ -55,7 +55,7 @@
         || problem "incorrect initial size: $size (expected 4)"
     # Check in second revision (1.2), size $n bytes.
     # Note, adding "-f" to the ci command prevents the bug.
-    yes | head -${n}c > $w
+    printf "%${n}s" '' > $w
     ci -m"blafasel" -l $w
     cp -f $w $w.$n
     cp -f $v $v.$n

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlRcajUACgkQZwMiJEyAdQLIkwCeKvcRDQ+ZBpJD8ZeeSzWt15ps
2PMAoLnXPzRxw6Kubu9n9Thp8Z+iXdFe
=e6LY
-----END PGP SIGNATURE-----