The os:mkdir transcript test fails if umask isn't zero
krader1961 opened this issue · comments
On my systems I have this in my elv.rc: set unix:umask = 0o027
. This breaks the os:mkdir test:
--- FAIL: TestTranscripts (0.06s)
--- FAIL: TestTranscripts/os_test.elvts/os:mkdir/&perm (0.00s)
test_transcript.go:118:
~> os:mkdir &perm=0o555 d555
printf "%O\n" (os:stat d555)[perm]
-want +got:
@@ -1,1 +1,1 @@
-0o555
+0o550
FAIL
FAIL src.elv.sh/pkg/mods/os 0.184s
Thanks for reporting, should be fixed now.