mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Tests: - Change the partition to test to '/mnt'. Mount a loopback filesystem on /mnt. 'dd if=/dev/zero of=/test-file bs=1M count=100; mkfs.ext4 /test-file; mount -o loop /test-file /mnt'. Turn it to read-only with 'mount -o remount,ro /mnt'. Wait about 3 minutes for the notification to show up. - The notification shows icon, title and message as expected. The button power app appears and works as expected. - When the filesystem is mount rw again, the notification goes away in 3 minutes. 'mount -o remount,rw /mnt'. [sunil: Let glib.schedule decide time when debugging] [sunil: Perform exact matching in partition mount options] [sunil: Simplify notification message. Minor grammar change] [sunil: Minor refactoring for styling] Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>