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

Thien-Thi Nguyen <[email protected]> Fri, 07 Nov 2014 07:28:45 +0100
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() Christian Wagner <[email protected]>
() Thu, 6 Nov 2014 12:20:29 +0000

   Here is the diff output showing what's required to have it pass:
   58c58
   <     yes | head -${n}c > $w
   ---
   >     yes | tr -d '\n' | head -c ${n} > $w

   As you can see, 'head' and 'yes' have to be called differently on Yosemite.

IIUC "head -c" is not POSIX and "yes" is not in the list of
POSIX utilities:

 http://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html

so a better fix might be to replace the command completely.  Hmmm.

-- 
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)

iEYEARECAAYFAlRcZqAACgkQZwMiJEyAdQIWAgCg5RifHDqTlg2W+uGM2jkzx68d
oIwAoJTyc5qp9gKG6N3uEBMhvgLdhZUx
=8oyU
-----END PGP SIGNATURE-----