From d5d2c23d5a489bba6be8a75ad4c5d1ac3cda4bb6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 6 Oct 2026 21:54:48 +0900 Subject: 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 --- test/sandbox/testdata/mapuid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sandbox/testdata/mapuid.go') 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{ -- cgit v1.3.1