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

nix: install also mdadm

Some tests are checking functinality of lvm2 with mdadm.
This commit is contained in:
Zdenek Kabelac 2015-04-22 09:00:21 +02:00
parent 2e035162a1
commit 16ee4642c7

View File

@ -116,9 +116,9 @@ let
else else
counter=0 counter=0
fi fi
if test $counter -eq 10 || test $(cat hb.current | wc -c) -eq $(cat hb.last | wc -c); then if test $counter -eq 10 || test $(wc -c <hb.current) -eq $(wc -c <hb.last); then
echo echo
echo "VM got stuck; heartbeat: $(cat hb.current | wc -c) $(cat hb.last | wc -c), counter = $counter." echo "VM got stuck; heartbeat: $(wc -c <hb.current) $(wc -c <hb.last), counter = $counter."
echo "last journal entry: $(tail -n 1 j.current), previously $(tail -n 1 j.last)" echo "last journal entry: $(tail -n 1 j.current), previously $(tail -n 1 j.last)"
kill -- -$(cat pid) kill -- -$(cat pid)
fi fi
@ -355,6 +355,7 @@ let
"redhat-rpm-config" # needed for rpmbuild of lvm "redhat-rpm-config" # needed for rpmbuild of lvm
"which" "e2fsprogs" # needed for fsadm "which" "e2fsprogs" # needed for fsadm
"perl-GD" # for lcov "perl-GD" # for lcov
"mdadm" # for tests with lvm2 and mdadm
"kernel" "kernel"
]; ];
centos63 = [ "clusterlib-devel" "openaislib-devel" "cman" "libudev-devel" "valgrind-devel" "procps" ]; centos63 = [ "clusterlib-devel" "openaislib-devel" "cman" "libudev-devel" "valgrind-devel" "procps" ];