GNU bug report logs -
#16291
Use of /bin/rm
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Sun, 29 Dec 2013 21:51:02 UTC
Severity: normal
Tags: notabug
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
While upgrading the GNU system to Automake 1.14.1, I noticed that a few
tests emit warnings like this:
--8<---------------cut here---------------start------------->8---
SKIP: t/spy-rm.tap 1 # SKIP /bin/rm not found
PASS: t/spy-rm.tap 2 - rm -f
SKIP: t/spy-rm.tap 3 # SKIP /bin/rm not found
PASS: t/spy-rm.tap 4 - rm -rf
SKIP: t/spy-rm.tap 5 # SKIP /bin/rm not found
PASS: t/spy-rm.tap 6 - rm -fr
--8<---------------cut here---------------end--------------->8---
There’s no /bin/rm in Guix build environments, hence the message (in
fact, there’s no /bin at all.)
However, in general, I think packages should not rely on hardcoded file
names, and instead use AC_PATH_PROG or similar mechanisms to get the
right file name.
Would it be possible to change these tests to use ‘rm’ instead of /bin/rm?
What do you think?
Thanks,
Ludo’.
This bug report was last modified 11 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.