dbus/test/test-sleep-forever.c
Havoc Pennington 03b9ca6d4e 2003-04-04 Havoc Pennington <hp@redhat.com>
* dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to
	return a "babysitter" object that is used to monitor the status of
	the spawned process and reap it when required.

	* test/test-segfault.c, test/test-exit.c,
	test/test-sleep-forever.c: binaries that do various lame things,
	used in the test suite.

	* dbus/dbus-sysdeps.c: kill _dbus_errno_to_string()
2003-04-05 00:37:17 +00:00

12 lines
161 B
C

/* This is a process that just sleeps infinitely. */
#include <unistd.h>
int
main (int argc, char **argv)
{
while (1)
sleep (10000000);
return 1;
}