Hi, On Sat, May 21, 2016 at 12:10:04PM +0200, Jens Neuhalfen wrote: > > This script needs to run on all platforms we support, and that includes > > more esoteric ones like AIX and Solaris - OpenSolaris /bin/sh is a ksh93 > > variant (nowadays), so if it works in ksh and dash (Debian /bin/sh), I'm > > fine??? > > Arrays are indeed not POSIX compliant. Do we have some hard baseline > of systems we need our tests to run on? I have SmartOS (Solaris derivate), > I could get my hands on a Solaris VM (10 or 11, I???ll need to check with > Oracles > license) for local testing.
My buildbots test on "all the BSDs" (Free, Net, Open, and they have a /bin/sh which is "It only supports features designated by POSIX plus a few Berkeley extensions") and OpenSolaris 11 (ksh93). Samuli's buildbot test on various Linux variants, so "dash" should work. > I have virtually no experience with AIX though. Generally speaking, AIX is major pains :-) - but the /bin/sh is a ksh, so if it works in ksh93, AIX should be fine. > As these tests are only run on development machines I assume that we can > require some additional packages to be installed? We already need fping/fping6 for t_client, so yes. Autoconf wants Perl, so if it makes sense to rewrite t_client.sh to use that, it might be another option (but we shouldn't require extra perl *modules*). > I???ll make sure that it works on > > * Ubuntu Precise Pangolin > * Mac OS > * Solaris 11 (btw: Do we use gcc or Solaris Studio?) If these all work, we should be in good shape - I was mostly worried about Solaris, but MacOS might have some surprises as well. I compile using gcc on Solaris, but haven't received any reports about Solaris Studio *not* working - whatever that means ("nobody uses Solaris" or "it just works") :-) > Can you do a final test on AIX after I am done? Happy to. I can't give other people access to the AIX systems (customer), so can't run a buildslave there - but running openvpn tests is fine. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature