diff options
author | Thomas Wood <thomas.wood@intel.com> | 2014-11-07 16:25:59 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-11-13 14:27:57 +0000 |
commit | 34424138bcee87dc8e3c7555f28aa2642668e2e8 (patch) | |
tree | 9f8603f975e7ce634e53cc22d2752b39dd2b616d /lib/tests/igt_timeout.c | |
parent | 6ee3337b28b3598da723099d43ae14fac96d06e5 (diff) |
lib/tests: add a test for igt_set_timeout
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/tests/igt_timeout.c')
-rw-r--r-- | lib/tests/igt_timeout.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tests/igt_timeout.c b/lib/tests/igt_timeout.c new file mode 100644 index 00000000..8affa61f --- /dev/null +++ b/lib/tests/igt_timeout.c @@ -0,0 +1,8 @@ +#include "igt_core.h" +#include <unistd.h> + +igt_simple_main +{ + igt_set_timeout(1); + sleep(5); +} |