summary refs log tree commit diff
path: root/src/testsuite/getpid.sh
AgeCommit message (Collapse)Author
2019-11-03Make test suite compatible with HaikuAlexander Barton
2013-09-03getpid.sh: use /bin/pidof when availableAlexander Barton
2012-09-27Fix getpid.sh to work on Apple A/UX againAlexander Barton
2012-03-03getpid.sh: Fix testcase error for Debian using sbuildChristoph Biedl
When * building the ngircd Debian package (on Linux at least) and * using the sbuild build system, the command "ps -af" does not include the commands running inside the sbuild system. Therefore, start-server.sh will report a fail as getpid.sh cannot not find the ./T-ngircd1 just started although it's actually running. This results in a funny build log ... starting server 1 ... failure! FAIL: start-server1 running connect-test ... ok. PASS: connect-test The self-test of getpid.sh however will likely succeed as it's happy if it sees any process with "sh" somewhere in the name. Things go downhill from there. The confusing things are: * The alternative cowbuilder/pbuilder does not have this problem. * The alternative usage "ps ax" does fine. So, as a quick hack, the patch attached adds another switch to getpid.sh.
2011-07-30Testsuite: make getpid.sh work even when run as rootAlexander Barton
Use ps(1) flag "-a" (as well as "-f"): "Select all processes except both session leaders (see getsid(2)) and processes not associated with a terminal." Thanks to Götz Hoffart for reporting this problem!
2008-12-03Make testsuite (getpid.sh) work on OpenSolaris (i386/pc/solaris2.11).Alexander Barton
2006-08-05Added support for Solaris 11.Alexander Barton
2003-08-22Enhanced testsuite, should run under GNU/Hurd now.Alexander Barton
2003-04-22Made scripts mor portable (run on SunOS 5.6 now).Alexander Barton
2002-11-10- Test-Suite an A/UX angepasst.Alexander Barton
2002-09-20- Die PID des Test-Servers wird nun mit dem Script "getpid.sh" ermittelt.Alexander Barton