diff options
Diffstat (limited to 'test/sandbox/case')
| -rw-r--r-- | test/sandbox/case/mapuid.nix | 13 | ||||
| -rw-r--r-- | test/sandbox/case/preset.nix | 13 | ||||
| -rw-r--r-- | test/sandbox/case/tty.nix | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/test/sandbox/case/mapuid.nix b/test/sandbox/case/mapuid.nix index eb042e8c..bf9837d4 100644 --- a/test/sandbox/case/mapuid.nix +++ b/test/sandbox/case/mapuid.nix @@ -9,6 +9,19 @@ mapRealUid = true; want = { + env = [ + "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus" + "HOME=/var/lib/fortify/u0/a3" + "PULSE_SERVER=unix:/run/user/1000/pulse/native" + "SHELL=/run/current-system/sw/bin/bash" + "TERM=linux" + "USER=u0_a3" + "WAYLAND_DISPLAY=wayland-0" + "XDG_RUNTIME_DIR=/run/user/1000" + "XDG_SESSION_CLASS=user" + "XDG_SESSION_TYPE=tty" + ]; + fs = fs "dead" { ".fortify" = fs "800001ed" { etc = fs "800001ed" null null; diff --git a/test/sandbox/case/preset.nix b/test/sandbox/case/preset.nix index b31ec3db..cedd9d79 100644 --- a/test/sandbox/case/preset.nix +++ b/test/sandbox/case/preset.nix @@ -9,6 +9,19 @@ mapRealUid = false; want = { + env = [ + "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/65534/bus" + "HOME=/var/lib/fortify/u0/a1" + "PULSE_SERVER=unix:/run/user/65534/pulse/native" + "SHELL=/run/current-system/sw/bin/bash" + "TERM=linux" + "USER=u0_a1" + "WAYLAND_DISPLAY=wayland-0" + "XDG_RUNTIME_DIR=/run/user/65534" + "XDG_SESSION_CLASS=user" + "XDG_SESSION_TYPE=tty" + ]; + fs = fs "dead" { ".fortify" = fs "800001ed" { etc = fs "800001ed" null null; diff --git a/test/sandbox/case/tty.nix b/test/sandbox/case/tty.nix index 2a3de556..f295b926 100644 --- a/test/sandbox/case/tty.nix +++ b/test/sandbox/case/tty.nix @@ -9,6 +9,19 @@ mapRealUid = false; want = { + env = [ + "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/65534/bus" + "HOME=/var/lib/fortify/u0/a2" + "PULSE_SERVER=unix:/run/user/65534/pulse/native" + "SHELL=/run/current-system/sw/bin/bash" + "TERM=linux" + "USER=u0_a2" + "WAYLAND_DISPLAY=wayland-0" + "XDG_RUNTIME_DIR=/run/user/65534" + "XDG_SESSION_CLASS=user" + "XDG_SESSION_TYPE=tty" + ]; + fs = fs "dead" { ".fortify" = fs "800001ed" { etc = fs "800001ed" null null; |
