Commit 952716af authored by Milan Broz's avatar Milan Broz

Report versions in test run.

parent 24aba9a5
......@@ -44,13 +44,6 @@ function check_nonroot
$MAKE || return
sudo modprobe dm-crypt
sudo modprobe dm-verity
sudo modprobe dm-integrity
uname -a
sudo dmsetup version
sudo dmsetup targets
make check
}
......@@ -69,13 +62,6 @@ function check_root
$MAKE || return
sudo modprobe dm-crypt
sudo modprobe dm-verity
sudo modprobe dm-integrity
uname -a
sudo dmsetup version
sudo dmsetup targets
# FIXME: we should use -E option here
sudo make check
}
......
#!/bin/bash
echo "Cryptsetup test environment ($(date))"
uname -a
if [ -f /etc/os-release ] ; then
source /etc/os-release
echo "$PRETTY_NAME ($NAME) $VERSION"
fi
[ -x ../cryptsetup ] && ../cryptsetup --version
[ -x ../veritysetup ] && ../veritysetup --version
[ -x ../integritysetup ] && ../integritysetup --version
[ -x ../cryptsetup-reencrypt ] && ../cryptsetup-reencrypt --version
[ $(id -u) != 0 ] && exit 77
modprobe dm-crypt >/dev/null 2>&1
modprobe dm-verity >/dev/null 2>&1
modprobe dm-integrity >/dev/null 2>&1
modprobe dm-zero >/dev/null 2>&1
dmsetup version
echo "Device mapper targets:"
dmsetup targets
exit 0
TESTS = api-test \
TESTS = 00modules-test \
api-test \
api-test-2 \
compat-test \
compat-test2 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment