<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src/testsuite/getpid.sh, branch rel-26</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-26</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-26'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2019-11-03T14:15:59+00:00</updated>
<entry>
<title>Make test suite compatible with Haiku</title>
<updated>2019-11-03T14:15:59+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2019-11-03T14:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=4169cb25e620cbd8a54cd19b509a8f88d7c295f9'/>
<id>urn:sha1:4169cb25e620cbd8a54cd19b509a8f88d7c295f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>getpid.sh: use /bin/pidof when available</title>
<updated>2013-09-03T19:33:22+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2013-09-03T19:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=e3a2a6c44d30a68f3afeab17ba19a5559e09f3a5'/>
<id>urn:sha1:e3a2a6c44d30a68f3afeab17ba19a5559e09f3a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix getpid.sh to work on Apple A/UX again</title>
<updated>2012-09-26T22:19:31+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2012-09-26T22:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=eba53f652ce8e0e7600b337628883d17fc3af2f2'/>
<id>urn:sha1:eba53f652ce8e0e7600b337628883d17fc3af2f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>getpid.sh: Fix testcase error for Debian using sbuild</title>
<updated>2012-03-03T17:53:03+00:00</updated>
<author>
<name>Christoph Biedl</name>
<email>ngircd.anoy@manchmal.in-ulm.de</email>
</author>
<published>2012-03-03T17:53:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=257fe922d2c2ee822c372bc5b979075271915553'/>
<id>urn:sha1:257fe922d2c2ee822c372bc5b979075271915553</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Testsuite: make getpid.sh work even when run as root</title>
<updated>2011-07-30T16:47:58+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2011-07-30T16:47:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=9f3690c39c2bd7cefbed8e3ea1f9519dd25d35c8'/>
<id>urn:sha1:9f3690c39c2bd7cefbed8e3ea1f9519dd25d35c8</id>
<content type='text'>
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!
</content>
</entry>
<entry>
<title>Make testsuite (getpid.sh) work on OpenSolaris (i386/pc/solaris2.11).</title>
<updated>2008-12-03T15:49:17+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2008-12-03T15:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=83c699d5a559acecc9b62767e4ffcf8fb50dfbb5'/>
<id>urn:sha1:83c699d5a559acecc9b62767e4ffcf8fb50dfbb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added support for Solaris 11.</title>
<updated>2006-08-05T00:15:28+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2006-08-05T00:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=6eb3f3055d41dab4a395fcea2301034993977722'/>
<id>urn:sha1:6eb3f3055d41dab4a395fcea2301034993977722</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enhanced testsuite, should run under GNU/Hurd now.</title>
<updated>2003-08-22T11:31:18+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2003-08-22T11:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=1ed708ef39f41436797754829fd574f34f8a3a71'/>
<id>urn:sha1:1ed708ef39f41436797754829fd574f34f8a3a71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Made scripts mor portable (run on SunOS 5.6 now).</title>
<updated>2003-04-22T19:27:50+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2003-04-22T19:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=0551f688f69419d82dae8a5692e1348d9da2a719'/>
<id>urn:sha1:0551f688f69419d82dae8a5692e1348d9da2a719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Test-Suite an A/UX angepasst.</title>
<updated>2002-11-10T14:28:06+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2002-11-10T14:28:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=797f9170d70507a79deaead97c74352a9cc3a929'/>
<id>urn:sha1:797f9170d70507a79deaead97c74352a9cc3a929</id>
<content type='text'>
</content>
</entry>
</feed>
