aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/hst_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-25 19:13:31 +0900
committerOphestra <cat@gensokyo.uk>2025-08-25 19:24:33 +0900
commit0dcac55a0c3fcbb2d48028a4474ccecb37bb22fc (patch)
treed4f4440ac8ce805cbc46b8658572fe7a702d78fd /hst/hst_test.go
parent6d202d73b41d28166f7bea7da36d1ce054711ff9 (diff)
hst/config: remove container etc field
This no longer needs special treatment since it can be specified as a generic filesystem entry. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/hst_test.go')
-rw-r--r--hst/hst_test.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/hst/hst_test.go b/hst/hst_test.go
index 897bf930..553533b0 100644
--- a/hst/hst_test.go
+++ b/hst/hst_test.go
@@ -110,6 +110,12 @@ func TestTemplate(t *testing.T) {
"special": true
},
{
+ "type": "bind",
+ "dst": "/etc/",
+ "src": "/etc/",
+ "special": true
+ },
+ {
"type": "ephemeral",
"dst": "/tmp/",
"write": true,
@@ -154,9 +160,7 @@ func TestTemplate(t *testing.T) {
"target": "/run/user/65534",
"linkname": "/run/user/150"
}
- ],
- "etc": "/etc/",
- "auto_etc": true
+ ]
}
}`