diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-12-04 16:09:26 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-12-14 01:19:23 +0200 |
commit | 06364d1d983179cda086d0673d28f5f61d265f1c (patch) | |
tree | 4d4d2af3903db0bad84f8bf5bf188f1f9eb43ee1 /tests/hello_world_exit.c | |
parent | 8c2708efe5957c3dddfa4266985c4aeac05d9128 (diff) |
Added test to check that emrun stdout, stderr and process exit code capture work.
Diffstat (limited to 'tests/hello_world_exit.c')
-rw-r--r-- | tests/hello_world_exit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hello_world_exit.c b/tests/hello_world_exit.c new file mode 100644 index 00000000..febecc65 --- /dev/null +++ b/tests/hello_world_exit.c @@ -0,0 +1,9 @@ +#include<stdio.h> +#include<stdlib.h> + +int main() { + printf("hello, world!\n"); + fprintf(stderr, "hello, error stream!\n"); + exit(100); +} + |