Index: /trunk/src/VBox/ValidationKit/testboxscript/setup.sh
===================================================================
--- /trunk/src/VBox/ValidationKit/testboxscript/setup.sh	(revision 56477)
+++ /trunk/src/VBox/ValidationKit/testboxscript/setup.sh	(revision 56478)
@@ -301,4 +301,21 @@
         echo "         requiretty option in /etc/sudoers."
         su - "${TESTBOXSCRIPT_USER}" -c "sudo true"
+    fi
+}
+
+##
+# Test if core dumps are enabled. See https://wiki.ubuntu.com/Apport!
+#
+test_coredumps() {
+    if test "`lsb_release -is`" = "Ubuntu"; then
+        if grep -q "apport" /proc/sys/kernel/core_pattern; then
+            if grep -q "#.*problem_types" /etc/apport/crashdb.conf; then
+                echo "It looks like core dumps are properly configured, good!"
+            else
+                echo "Warning: Core dumps will be not always generated!"
+            fi
+        else
+            echo "Warning: Apport not installed! This package is required for core dump handling!"
+        fi
     fi
 }
@@ -472,4 +489,5 @@
 maybe_add_testboxscript_user;
 test_user;
+test_coredumps;
 
 grant_user_testboxscript_write_access;
