summaryrefslogtreecommitdiffstats
path: root/tests/expected/libmount
diff options
context:
space:
mode:
authorKarel Zak2018-03-20 13:34:31 +0100
committerKarel Zak2018-03-20 13:34:31 +0100
commit6ffdfda8460b1a336165a18b08f0f5946af9cd11 (patch)
treee61bba4d980507c79c418059e89046a84c8ec676 /tests/expected/libmount
parentlibmount: fix example in docs (diff)
downloadkernel-qcow2-util-linux-6ffdfda8460b1a336165a18b08f0f5946af9cd11.tar.gz
kernel-qcow2-util-linux-6ffdfda8460b1a336165a18b08f0f5946af9cd11.tar.xz
kernel-qcow2-util-linux-6ffdfda8460b1a336165a18b08f0f5946af9cd11.zip
tests: add /proc/swaps libmount parser test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/libmount')
-rw-r--r--tests/expected/libmount/tabfiles-parse-swaps22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/expected/libmount/tabfiles-parse-swaps b/tests/expected/libmount/tabfiles-parse-swaps
new file mode 100644
index 000000000..bd781d4e3
--- /dev/null
+++ b/tests/expected/libmount/tabfiles-parse-swaps
@@ -0,0 +1,22 @@
+------ fs:
+source: /dev/dm-2
+target: (null)
+fstype: swap
+swaptype: partition
+size: 8151036
+usedsize: 2283436
+priority: -2
+------ fs:
+source: /some/swapfile
+target: (null)
+fstype: swap
+swaptype: file
+size: 111
+usedsize: 111
+------ fs:
+source: /some/swapfile2
+target: (null)
+fstype: swap
+swaptype: file
+size: 111
+usedsize: 111