diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-04 00:55:23 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-04 00:55:52 +0900 |
| commit | fa93476896700f990e303cf3f60caa77f30df625 (patch) | |
| tree | cd405c8b1afa638b88ceb639c574b9c5c77ec2a7 /internal/pkg/pkg_test.go | |
| parent | bd0ef086b1fe2ecbbd1b1f401b8e546baa578952 (diff) | |
internal/pkg: override working directory perms
This must be writable to enable renaming, and the final result is conventionally read-only alongside the entire directory contents. This change overrides the permission bits as part of Store.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/pkg_test.go')
| -rw-r--r-- | internal/pkg/pkg_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index 46084ff4..6f4a256a 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -455,7 +455,7 @@ func TestCache(t *testing.T) { } else if !store { t.Fatal("Store did not store nonpresent entry") } - }, pkg.MustDecode("N7dntFYbOq9V4iC-rjAQ-By6ofPIQVZkA8V0r0G07M_sdB7Zh42Ttrspsc38ioYa")}, + }, pkg.MustDecode("8OP6YxJAdRrhV2WSBt1BPD7oC_n2Qh7JqUMyVMoGvjDX83bDqq2hgVMNcdiBH_64")}, } checkWithCache(t, testCases) } |
