Bogdan wrote: > # Ensure install-strip works when STRIP consists of more than one word. > # This test needs GNU binutils strip. See sister test 'strip3.sh'. > > > And, frankly, I don't know what to do about this. It's the whole > point of the test to use 'strip --verbose' (well, 'strip' + any word, > actually).
Here's the point. On a system with GNU binutils, "man strip" shows the options [-s|--strip-all] [-S|-g|-d|--strip-debug] [-v|--verbose] [-x|--discard-all] (among others). Whereas on OpenBSD, "man strip" shows that it's in fact 'llvm-strip' and that it supports the options [-s|--strip-all] [-S|-g|-d|--strip-debug] [-x|--discard-all] (among others), but not [-v|--verbose]. Then there's also AIX 'strip', which understands -l -x and Solaris 'strip', which understands -l -x as well. So, in summary, I suggest to use the option '-x' instead of '--verbose'. It makes the t/strip2.sh test succeed on OpenBSD. Then you can remove the comment "This test needs GNU binutils strip.". Bruno