Le 30/12/2012 02:07, g....@free.fr a écrit :
>>> I also got a failure in the coreutils test suite:
>>> FAIL: test-getlogin
>>> ===================
>>> test-getlogin.c:48: assertion failed
>>>
> This is fixed by upstream commit 4f81aa5778dc88b99d21ad8d04a4bc9401366311
> in gnulib tree.
> http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=4f81aa5778dc88b99d21ad8d04a4bc9401366311
> Apply with
> cd $(DIR_APP)/gnulib-tests&&  patch -p2
>
> Gilles
Why not do:
sed -i -e '/buf.*getlogin/i\
   fprintf(stderr,"Skipping test: not meaningful during an LFS build.\\n");\
   return 77;' gnulib-tests/test-getlogin.c

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to