diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-06 21:54:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-06 21:54:48 +0900 |
| commit | d5d2c23d5a489bba6be8a75ad4c5d1ac3cda4bb6 (patch) | |
| tree | e32128ea9fb2f27b868f8b0fce94e0232f0d0a26 /test/sandbox/testdata/mapuid.go | |
| parent | a7383510fb05abc98b992240cb76ad4b6c598956 (diff) | |
test/internal/testsuite: directly set credentials
There is no reason to keep using sudo here, now that processes are
spawned natively. This change removes all use of sudo.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/testdata/mapuid.go')
| -rw-r--r-- | test/sandbox/testdata/mapuid.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sandbox/testdata/mapuid.go b/test/sandbox/testdata/mapuid.go index fad4ec36..8dee7b7f 100644 --- a/test/sandbox/testdata/mapuid.go +++ b/test/sandbox/testdata/mapuid.go @@ -63,9 +63,9 @@ var _ = TestCase{ "etc": {Mode: os.ModeDir | 0755, Dir: dir{ "passwd": {Mode: 0600, - Data: new("u0_a3:x:1000:1000:Hakurei:/.hakurei:/usr/bin/bash\n")}, + Data: new("u0_a3:x:1000:100:Hakurei:/.hakurei:/usr/bin/bash\n")}, "group": {Mode: 0600, - Data: new("hakurei:x:1000:\n")}, + Data: new("hakurei:x:100:\n")}, }}, "lib64": {Mode: os.ModeDir | 0755, Dir: dir{ |
