diff options
author | Lassulus <github@lassul.us> | 2022-12-04 13:21:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 13:21:42 +0100 |
commit | c2bf0b6314b4bc48177e1064d9814e410bccc8f2 (patch) | |
tree | 4e13cb302f61742482e9bf10471d2146c9e8990a /tests/tmpfs.nix | |
parent | dfb7bd89e1e4a49d880fa8348e56251db1e32915 (diff) | |
parent | ff7fa8760096e3f00a2515b35a1432237f104280 (diff) |
Merge pull request #70 from nix-community/tmpfs
Diffstat (limited to 'tests/tmpfs.nix')
-rw-r--r-- | tests/tmpfs.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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 <nixpkgs> { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = ../example/tmpfs.nix; + extraTestScript = '' + machine.succeed("mountpoint /"); + machine.succeed("mountpoint /tmp"); + ''; +} |