summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread/system/system.c
blob: cf9a8defac6819385f1cf9fa48efb807acac8cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$OpenBSD: system.c,v 1.2 2001/11/11 19:57:43 marc Exp $ */
/*
 *	Placed in the PUBLIC DOMAIN
 */ 

/*
 * system checks the threads system interface and that waitpid/wait4
 * works correctly.
 */

#include <stdlib.h>
#include "test.h"

int
main(int argc, char **argv)
{
    ASSERT(system("ls") == 0);
    SUCCEED;
}