From 6b9a1530f82f2be9477ba9e4fe63c6daa4c35d8f Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 7 Jul 2021 13:08:06 +0200 Subject: [PATCH] [mount] Add test exercising partial-filtering --- src/modules/mount/tests/4.global | 11 +++++++++++ src/modules/mount/tests/4.job | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/modules/mount/tests/4.global create mode 100644 src/modules/mount/tests/4.job diff --git a/src/modules/mount/tests/4.global b/src/modules/mount/tests/4.global new file mode 100644 index 000000000..1856c9dc3 --- /dev/null +++ b/src/modules/mount/tests/4.global @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +partitions: + - device: "/dev/sdb1" + mountPoint: "/" + fs: "btrfs" + - device: "/dev/sdb2" + mountPoint: "/home" + fs: "ext4" +partitionChoices: + swap: file diff --git a/src/modules/mount/tests/4.job b/src/modules/mount/tests/4.job new file mode 100644 index 000000000..dac758227 --- /dev/null +++ b/src/modules/mount/tests/4.job @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 + +btrfsSubvolumes: + - mountPoint: / + subvolume: /@ + - mountPoint: /home + subvolume: /@home + - mountPoint: /var/cache + subvolume: /@cache + - mountPoint: /var/log + subvolume: /@log