chiark / gitweb /
server/tests.at: Work around strace's attempt to overwrite core files.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 20 Jan 2012 01:23:41 +0000 (01:23 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 24 Jan 2012 01:49:21 +0000 (01:49 +0000)
commit96f1fb578dec42612157bbf55253c85ac4793073
tree3724eb7eed1c415a4d8e0c1b1a0b6fb6cf7c30cb
parent2f20abf22453c3a3a5abb90921e3d0c75bf79ec6
server/tests.at: Work around strace's attempt to overwrite core files.

When strace sees its child process die from a signal, it sends itself
the same signal in order to propagate the exit status accurately.
Unfortunately, if the child process left a core dump, it gets
overwritten by a useless core dump showing how strace committed suicide.

Work around this by running strace in a subdirectory and getting the
child process to run back in the parent.

Also see Debian bug #656389.
server/tests.at