aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/print_test.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/cmd/hakurei/print_test.go b/cmd/hakurei/print_test.go
index c72e7ab6..0935de27 100644
--- a/cmd/hakurei/print_test.go
+++ b/cmd/hakurei/print_test.go
@@ -49,6 +49,7 @@ func Test_printShowInstance(t *testing.T) {
Filesystem
w+ephemeral(-rwxr-xr-x):/tmp/
+ w*/nix/store:/mnt-root/nix/.rw-store/upper:/mnt-root/nix/.rw-store/work:/mnt-root/nix/.ro-store
*/nix/store
*/run/current-system
*/run/opengl-driver
@@ -127,6 +128,7 @@ App
Filesystem
w+ephemeral(-rwxr-xr-x):/tmp/
+ w*/nix/store:/mnt-root/nix/.rw-store/upper:/mnt-root/nix/.rw-store/work:/mnt-root/nix/.ro-store
*/nix/store
*/run/current-system
*/run/opengl-driver
@@ -279,6 +281,15 @@ App
"perm": 493
},
{
+ "type": "overlay",
+ "dst": "/nix/store",
+ "lower": [
+ "/mnt-root/nix/.ro-store"
+ ],
+ "upper": "/mnt-root/nix/.rw-store/upper",
+ "work": "/mnt-root/nix/.rw-store/work"
+ },
+ {
"type": "bind",
"src": "/nix/store"
},
@@ -414,6 +425,15 @@ App
"perm": 493
},
{
+ "type": "overlay",
+ "dst": "/nix/store",
+ "lower": [
+ "/mnt-root/nix/.ro-store"
+ ],
+ "upper": "/mnt-root/nix/.rw-store/upper",
+ "work": "/mnt-root/nix/.rw-store/work"
+ },
+ {
"type": "bind",
"src": "/nix/store"
},
@@ -603,6 +623,15 @@ func Test_printPs(t *testing.T) {
"perm": 493
},
{
+ "type": "overlay",
+ "dst": "/nix/store",
+ "lower": [
+ "/mnt-root/nix/.ro-store"
+ ],
+ "upper": "/mnt-root/nix/.rw-store/upper",
+ "work": "/mnt-root/nix/.rw-store/work"
+ },
+ {
"type": "bind",
"src": "/nix/store"
},