summaryrefslogtreecommitdiff
path: root/tests/lib/test-mount
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-21 22:11:47 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-21 22:11:47 +0200
commit3bd20bde1e49ab664cc53262ec5ebb3e6323d3f6 (patch)
treebd7e686e44c3f4e62dc83712b7be94b0e550d204 /tests/lib/test-mount
parentd982d8e1f9e6b806d44340ca28858e388a1fded7 (diff)
make tests separate reusable files + make the testing thing a bit better
Diffstat (limited to 'tests/lib/test-mount')
-rw-r--r--tests/lib/test-mount6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/test-mount b/tests/lib/test-mount
new file mode 100644
index 0000000..e45715a
--- /dev/null
+++ b/tests/lib/test-mount
@@ -0,0 +1,6 @@
+#!/bin/bash
+# $1 mount output string
+
+NAME="MOUNT CHECK, $1"
+
+mount | grep -q '/dev/mapper/cryptpool-crypthome on /home type xfs (rw)'