Skip to content

Commit 569b107

Browse files
committed
commands: permissions - limit tests to Linux
Some `chmod` behavior is implementation defined (see: POSIX spec). Since the 9P2000.L protocol is used, we test against GNU's `chmod`. Trying to run these tests on Unix systems like Illumos, Darwin, et al. will produce different results for the same symbolic expressions, as they have different implementations / symbolic expression parsing rules.
1 parent 4007aea commit 569b107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/permission_test.go renamed to internal/commands/permission_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build unix
1+
//go:build linux
22

33
package commands
44

0 commit comments

Comments
 (0)