chiark / gitweb /
update TODO
[elogind.git] / test / TEST-02-CRYPTSETUP / test.sh
index 86617dfc7b217595e822a9edd02ccb44ced124b6..b2432546dd40d1d715834c3922bce2bf77fad1d7 100755 (executable)
@@ -5,9 +5,6 @@ TEST_DESCRIPTION="cryptsetup systemd setup"
 
 . $TEST_BASE_DIR/test-functions
 
-# Uncomment this to debug failures
-#DEBUGFAIL="systemd.unit=multi-user.target"
-
 check_result_qemu() {
     ret=1
     mkdir -p $TESTDIR/root
@@ -28,11 +25,10 @@ check_result_qemu() {
 
 
 test_run() {
-    if check_qemu ; then
-        run_qemu
+    if run_qemu; then
         check_result_qemu || return 1
     else
-        dwarn "can't run qemu-kvm, skipping"
+        dwarn "can't run QEMU, skipping"
     fi
     return 0
 }
@@ -70,6 +66,7 @@ EOF
         setup_testsuite
 
         install_dmevent
+        generate_module_dependencies
         cat >$initdir/etc/crypttab <<EOF
 $DM_NAME UUID=$ID_FS_UUID /etc/varkey
 EOF