aboutsummaryrefslogtreecommitdiff
path: root/tests/matrix/atime_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/matrix/atime_linux.go')
-rw-r--r--tests/matrix/atime_linux.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/matrix/atime_linux.go b/tests/matrix/atime_linux.go
new file mode 100644
index 0000000..fb7b94f
--- /dev/null
+++ b/tests/matrix/atime_linux.go
@@ -0,0 +1,9 @@
+package matrix
+
+import (
+ "syscall"
+)
+
+func extractAtimeMtime(st syscall.Stat_t) [2]syscall.Timespec {
+ return [2]syscall.Timespec{st.Atim, st.Mtim}
+}