test42: disable attach-to-PM test

This commit is contained in:
David van Moolenbroek 2009-12-13 21:45:23 +00:00
parent f4574783dc
commit 307ad7b3b0

View file

@ -855,8 +855,11 @@ void test_attach()
if (errno != EPERM) e(4);
/* Attaching to PM is not allowed. */
#if 0
/* FIXME: disabled until we can reliably determine PM's pid */
if (ptrace(T_ATTACH, 0, 0, 0) != -1) e(5);
if (errno != EPERM) e(6);
#endif
pid = traced_fork(test_attach_child);