Changeset 61179 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 24, 2016 8:08:17 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testboxscript
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/linux/setup-routines.sh
r58591 r61179 95 95 } 96 96 97 ## 98 # Test if core dumps are enabled. See https://wiki.ubuntu.com/Apport! 99 # 100 test_coredumps() { 101 if test "`lsb_release -is`" = "Ubuntu"; then 102 if grep -q "apport" /proc/sys/kernel/core_pattern; then 103 if grep -q "#.*problem_types" /etc/apport/crashdb.conf; then 104 echo "It looks like core dumps are properly configured, good!" 105 else 106 echo "Warning: Core dumps will be not always generated!" 107 fi 108 else 109 echo "Warning: Apport not installed! This package is required for core dump handling!" 110 fi 111 fi 112 } -
trunk/src/VBox/ValidationKit/testboxscript/setup.sh
r56478 r61179 308 308 # 309 309 test_coredumps() { 310 if test "`lsb_release -is`" = "Ubuntu"; then 311 if grep -q "apport" /proc/sys/kernel/core_pattern; then 312 if grep -q "#.*problem_types" /etc/apport/crashdb.conf; then 313 echo "It looks like core dumps are properly configured, good!" 314 else 315 echo "Warning: Core dumps will be not always generated!" 316 fi 317 else 318 echo "Warning: Apport not installed! This package is required for core dump handling!" 319 fi 320 fi 310 # This is a linux hook. 311 return 0; 321 312 } 322 313
Note:
See TracChangeset
for help on using the changeset viewer.