Aleksa Sarai
3252a4ad82
test: migrate most tests to testify
...
testify makes most bog-standard test checks much easier to read and
maintain, and is quite widely used. It wasn't really well known back
when go-mtree was first written, but the migration is fairly
straight-forward for most tests.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2025-09-20 12:43:45 +10:00
4ab44bff01
*.go: goimports -w .
`
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-10-24 09:09:57 -04:00
42b655d8ee
*.go: update to golangci-lint, and fix everything
...
install tools in the workflow actions
Also switch away from deprecated ioutil
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-10-23 21:59:44 -04:00
94303e15af
*.go: updated go:build added via gofmt
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-23 12:59:26 -04:00
Matthew Garrett
cb1fb5dded
test: Allow using an environment variable to override the test dir
...
Some build systems may not permit writing to . during build, so allow
that path to be overridden with an environment variable.
2017-04-13 11:35:01 -07:00
1f7a3d3784
xattr: the unsupported features weren't linted
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-12-07 20:07:59 -05:00
e76196a6d6
xattr: tests for non-linux
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-11-18 03:47:11 +00:00
2685cd3cc5
xattr: fix the failure on empty list
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-07-26 13:55:25 -04:00
c3855dab6d
travis: add travis check
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-04-06 13:57:11 -04:00
2d3aea8623
xattr: simple wrapper for syscalls
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-03-24 16:35:09 -04:00