403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.197
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/update-notifier/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/update-notifier/README.testing
This applet has no unittests (yet).

In order to test changes you need to kill update-notifier from your
running session (there can only be one) and start it from your local
build dir. Make sure you build with --prefix=/usr (or some other
location where your ui files are). Then you can do the
following:

Test updates:
Install a package from a previous version and check if update-notifier
detects that and shows a update icon. Run apt-get update and check if
it detects that a package manager is running.

Test hooks:
Copy a example hook file into /usr/lib/update-notifier/user.d/ (or
touch it) and touch /var/lib/update-notifier/dpkg-run-stamp to trigger
it reading the hooks.  Modify ~/.update-notifier/hooks_seen to
simulate certain conditions. Add identical files to "user.d" to test
the duplicates detection.

Test reboot notification:
Run /usr/share/update-notifier/notify-reboot-required and then do
touch /var/lib/update-notifier/dpkg-run-stamp.

Test cdrom detection:
Put a ubuntu CD into the driver and verify that its detected.

Test auto-launch:
The "faketime" package is useful for testing the auto-launch
funtionatliy
$ NO_FAKE_STAT=1 faketime '10 days' update-notifier --debug-updates
# aftwards the launch time in u-m needs to be reset
$ gsettings reset com.ubuntu.update-manager launch-time

Youez - 2016 - github.com/yon3zu
LinuXploit