diff options
Diffstat (limited to 'tests/utimensat64_static-1.sh')
-rwxr-xr-x | tests/utimensat64_static-1.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/utimensat64_static-1.sh b/tests/utimensat64_static-1.sh new file mode 100755 index 0000000..7b0355c --- /dev/null +++ b/tests/utimensat64_static-1.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# basic functionality check +[ "${at_xfail}" = "yes" ] && exit 77 # see trace-0 + +addwrite $PWD + +touch -r / file || exit 1 +utimensat64_static-0 0 AT_FDCWD . NULL 0 || exit 1 +utimensat64_static-0 0 AT_FDCWD file NULL 0 || exit 1 +[ file -nt / ] |