diff options
author | karthik-us <ksubrahm@redhat.com> | 2016-06-27 17:17:56 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-10-05 12:57:35 +0000 |
commit | 601b6547f2c53651b88a0560a41d702db06c0d1c (patch) | |
tree | 0dff616cdea5e426cc1b71135cb42d6859ca7dcb /extras/test | |
parent | b887915bd30ac98bbc64c6dcac73605cd96855ca (diff) |
storage/posix: Adding implementation for posix_do_futimes
Adding the implementation for the posix_do_futimes function which is
not complete in the current implementation and giving the ENOSYS error.
Change-Id: I9cfc95a7ea293b0a2df8efd4ac80d0120b3120e4
BUG: 1350406
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'extras/test')
-rw-r--r-- | extras/test/ld-preload-test/ld-preload-lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/test/ld-preload-test/ld-preload-lib.c b/extras/test/ld-preload-test/ld-preload-lib.c index 8f74a25cf68..179bf8b05d0 100644 --- a/extras/test/ld-preload-test/ld-preload-lib.c +++ b/extras/test/ld-preload-test/ld-preload-lib.c @@ -293,6 +293,14 @@ utimes (const char *path, const struct timeval times[2]) } int +futimes (int fd, const struct timeval times[2]) +{ + intercept ("futimes", 2); + set_errno (); + return -1; +} + +int utime (const char *path, const struct utimbuf *buf) { intercept ("utime", 2); |