| Index: tests/sel_ldr/non_exit.c
|
| diff --git a/tests/fixedfeaturecpu/ff_null.c b/tests/sel_ldr/non_exit.c
|
| similarity index 58%
|
| copy from tests/fixedfeaturecpu/ff_null.c
|
| copy to tests/sel_ldr/non_exit.c
|
| index 2e4e3b4d65fad451120ea03e09246ea0ef098761..afb4ba44c715eb0b3f6dde529f66f3c780e8004b 100644
|
| --- a/tests/fixedfeaturecpu/ff_null.c
|
| +++ b/tests/sel_ldr/non_exit.c
|
| @@ -4,6 +4,16 @@
|
| * be found in the LICENSE file.
|
| */
|
|
|
| +#include <stdlib.h>
|
| +
|
| +#include <time.h>
|
| +#include <sys/time.h>
|
| +#include <sys/nacl_syscalls.h>
|
| +
|
| int main(int argc, char* argv[]) {
|
| + struct timespec t = {1, 0};
|
| + while (1) {
|
| + nanosleep(&t, 0);
|
| + }
|
| return 0;
|
| }
|
|
|