summaryrefslogtreecommitdiffstats
path: root/tests/expected/libmount
diff options
context:
space:
mode:
authorStanislav Brabec2016-07-14 15:30:09 +0200
committerKarel Zak2016-08-03 11:53:28 +0200
commitab9795aca848d6c7f5845bbb7ef52f99a255a112 (patch)
tree9cbc16f80c2dfa666478650f069e91deef7b5082 /tests/expected/libmount
parentlibmout: Reuse loop device safely (diff)
downloadkernel-qcow2-util-linux-ab9795aca848d6c7f5845bbb7ef52f99a255a112.tar.gz
kernel-qcow2-util-linux-ab9795aca848d6c7f5845bbb7ef52f99a255a112.tar.xz
kernel-qcow2-util-linux-ab9795aca848d6c7f5845bbb7ef52f99a255a112.zip
tests: Add loop-overlay test
The test will check proper loop device reuse and error in case of overlapping loop device. Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'tests/expected/libmount')
-rw-r--r--tests/expected/libmount/loop-overlay7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/expected/libmount/loop-overlay b/tests/expected/libmount/loop-overlay
new file mode 100644
index 000000000..ab6c68beb
--- /dev/null
+++ b/tests/expected/libmount/loop-overlay
@@ -0,0 +1,7 @@
+second should fail
+ overlapping loop device exists
+should succeed
+both should fail
+ overlapping loop device exists
+ overlapping loop device exists
+Success