test/emacs: replace the use of process-attributes with signal-process
authorDavid Bremner <david@tethera.net>
Sat, 11 Jan 2014 17:25:39 +0000 (13:25 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 12 Jan 2014 21:08:14 +0000 (17:08 -0400)
commitb4f3be53c8789485d63aafde03b5f5a7e5d86592
treedcdbbb00bf7ba4387d69e0f1619362623090e6d3
parentbeaf251e16d40bb38d56a1ec5573bfdc1c1cfb0d
test/emacs: replace the use of process-attributes with signal-process

In some environments (at least Hurd), process-attributes is
unimplimented and always returns nil.  This ends up causing test
failures (see e.g. id:87a9ffofsc.fsf@zancas.localnet).

Historically and according to POSIX 1003.1-2001, a signal of 0 can be
used to check the validity of a pid. This seems less heinous than
parsing the output of ps(1).
test/test-lib.el