From ff7fa8760096e3f00a2515b35a1432237f104280 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 3 Dec 2022 12:08:19 +0100 Subject: add nodev support (for tmpfs, ramfs, nfs) --- tests/tmpfs.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/tmpfs.nix (limited to 'tests') diff --git a/tests/tmpfs.nix b/tests/tmpfs.nix new file mode 100644 index 0000000..10da055 --- /dev/null +++ b/tests/tmpfs.nix @@ -0,0 +1,10 @@ +{ pkgs ? (import { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = ../example/tmpfs.nix; + extraTestScript = '' + machine.succeed("mountpoint /"); + machine.succeed("mountpoint /tmp"); + ''; +} -- cgit v1.2.3