1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Get rid of the mdadm presence check in t-000-basic: no actual test uses

it. When we need mdadm in the tests, we can easily do 'which mdadm || exit 200'
to skip the test.
This commit is contained in:
Petr Rockai 2009-07-13 12:42:26 +00:00
parent c4c107f215
commit c944836420

View File

@ -20,10 +20,6 @@ lvm pvmove --version|sed -n "1s/.*: *\([0-9][^ ]*\) .*/\1/p" > actual
# ensure they are the same # ensure they are the same
diff -u actual expected diff -u actual expected
# Need mdadm for some pvcreate tests
# verify mdadm is installed and in path (needed for pvcreate tests) ... is it?
which mdadm
mknod $G_root_/dev/null c 1 3 || mknod $G_root_/dev/null c 1 3 ||
error "Can't create nodes on filesystem" error "Can't create nodes on filesystem"
echo >$G_root_/dev/null || echo >$G_root_/dev/null ||