aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnkush Patel2026-02-17 21:30:25 +1300
committerAnkush Patel2026-02-17 21:31:02 +1300
commita298101e579c4e261c206636ecc1be73ee11f624 (patch)
tree2f65beefce0d0641e27fa05839740dfb5d00b602 /tests
parent3a5675480b1ac35c938a4776240b16c20ec134ff (diff)
Freebsd-support: Fix go vet "undefined" fixes when running make ci
Diffstat (limited to 'tests')
-rw-r--r--tests/matrix/atime_freebsd.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/matrix/atime_freebsd.go b/tests/matrix/atime_freebsd.go
new file mode 100644
index 0000000..5f89c69
--- /dev/null
+++ b/tests/matrix/atime_freebsd.go
@@ -0,0 +1,9 @@
+package matrix
+
+import (
+ "syscall"
+)
+
+func extractAtimeMtime(st syscall.Stat_t) [2]syscall.Timespec {
+ return [2]syscall.Timespec{st.Atimespec, st.Mtimespec}
+}