diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-08 07:35:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-08 09:11:14 -0400 |
commit | d4dee0ebe39627e9d3b90c312f770d7ba73a46f5 (patch) | |
tree | b5613010981c5561febfd3b6dd07076b375a5364 /tests/futimesat-0.c | |
parent | libsandbox: handle symlinks properly (diff) | |
download | sandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.tar.gz sandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.tar.bz2 sandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.zip |
tests: add symlink tests and unify code
Add test cases for symlink behavior and unify some of the test code to
make adding more test cases even easier.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/futimesat-0.c')
-rw-r--r-- | tests/futimesat-0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/futimesat-0.c b/tests/futimesat-0.c index 0fdc5ef..4249a1d 100644 --- a/tests/futimesat-0.c +++ b/tests/futimesat-0.c @@ -8,7 +8,7 @@ #define process_args() \ s = argv[i++]; \ - int dirfd = atoi(s); \ + int dirfd = at_get_fd(s); \ \ s = argv[i++]; \ char *file = s; \ |