Changeset 67192 in vbox for trunk/src/VBox/ValidationKit/testboxscript
- Timestamp:
- Jun 1, 2017 8:42:40 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testboxscript
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/linux/setup-routines.sh
r66800 r67192 125 125 fi 126 126 } 127 128 ## 129 # Test if unattended updates are disabled. See 130 # http://ask.xmodulo.com/disable-automatic-updates-ubuntu.html 131 test_unattended_updates_disabled() { 132 if grep "APT::Periodic::Unattended-Upgrade.*1" /etc/apt/apt.conf.d/* 2>/dev/null 133 echo "Unattended updates enabled?" 134 return 1 135 fi 136 if grep "APT::Periodic::Update-Package-List.*1" /etc/apt/apt.conf.d/* 2>/dev/null 137 echo "Unattended package updates enabled?" 138 return 1 139 fi 140 } -
trunk/src/VBox/ValidationKit/testboxscript/setup.sh
r66805 r67192 313 313 } 314 314 315 ## 316 # Test if unattended updates are disabled. See 317 # http://ask.xmodulo.com/disable-automatic-updates-ubuntu.html 318 test_unattended_updates_disabled() { 319 # This is a linux hook. 320 return 0; 321 } 315 322 316 323 ## … … 665 672 test_user; 666 673 test_coredumps; 674 test_unattended_updates_disabled; 667 675 668 676 grant_user_testboxscript_write_access;
Note:
See TracChangeset
for help on using the changeset viewer.