From c326c3f97d6ab04be6b8052200e4dfa6b2f58550 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 20:00:34 +0900 Subject: fst/sandbox: do not create /etc in advance This is now handled by the setup op. This also gets rid of the hardcoded /etc path. Signed-off-by: Ophestra --- internal/app/app_pd_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/app/app_pd_test.go') diff --git a/internal/app/app_pd_test.go b/internal/app/app_pd_test.go index bde436f2..50e1611b 100644 --- a/internal/app/app_pd_test.go +++ b/internal/app/app_pd_test.go @@ -67,7 +67,6 @@ var testCasesPd = []sealTestCase{ Tmpfs("/run/user/1971", 8192, 0755). Tmpfs("/run/dbus", 8192, 0755). Bind("/etc", fst.Tmp+"/etc", 0). - Mkdir("/etc", 0700). Link(fst.Tmp+"/etc/alsa", "/etc/alsa"). Link(fst.Tmp+"/etc/bashrc", "/etc/bashrc"). Link(fst.Tmp+"/etc/binfmt.d", "/etc/binfmt.d"). @@ -288,7 +287,6 @@ var testCasesPd = []sealTestCase{ Tmpfs("/run/user/1971", 8192, 0755). Tmpfs("/run/dbus", 8192, 0755). Bind("/etc", fst.Tmp+"/etc", 0). - Mkdir("/etc", 0700). Link(fst.Tmp+"/etc/alsa", "/etc/alsa"). Link(fst.Tmp+"/etc/bashrc", "/etc/bashrc"). Link(fst.Tmp+"/etc/binfmt.d", "/etc/binfmt.d"). -- cgit v1.3.1