]> granicus.if.org Git - strace/blob - tests/dup.c
tests: use fixed timestamps in utime related tests
[strace] / tests / dup.c
1 #include "tests.h"
2 #include <stdio.h>
3 #include <unistd.h>
4
5 int
6 main(void)
7 {
8         int rc = dup(-1);
9         printf("dup(-1) = %d %s (%m)\n", rc, errno2name());
10
11         puts("+++ exited with 0 +++");
12         return 0;
13 }