[PATCH v2] fix not a string literal warning in test_xasprintf

2012-04-02 Thread Gilles Espinasse
With gcc-4.4.5 patched with defaults-format-security.patch, coreutils emit test-xvasprintf.c: In function 'test_xasprintf': test-xvasprintf.c:98: warning: format not a string literal and no format arguments There is a gnulib-tests/Makefile hack preventing the warning in case coreutils is compile

getlogin test failure

2012-04-02 Thread Matt Burgess
Hi, The coreutils-8.16 release brought in the getlogin gnulib module. When running through the testsuite, test-getlogin.c fails for me on a GNU/Linux system. There are a couple of different failure scenarios: 1) If I 'make' as my normal user account, then run "su nobody -s /bin/bash -c 'make ch