Imported Upstream version 2.6.1
[platform/upstream/cryptsetup.git] / tests / 00modules-test
index 64e054a..f816b80 100755 (executable)
@@ -23,12 +23,16 @@ if [ -f /etc/os-release ] ; then
 fi
 
 echo "Memory"
-free -h
+free -m
 
 pversion cryptsetup
 pversion veritysetup
 pversion integritysetup
-pversion cryptsetup-reencrypt
+
+[ -x $CRYPTSETUP_PATH/cryptsetup ] && {
+       echo -e "Cryptsetup defaults:"
+       $CRYPTSETUP_PATH/cryptsetup --help | sed -n '/optional key file for/,$p' | tail -n +3
+}
 
 [ $(id -u) != 0 ] && exit 77