PolkitKdeTestPlan

From FedoraProject

Jump to: navigation, search

Test Plan for polkit-kde

How to test on F-12

cat /etc/fedora-release
su -c "yum localinstall polkit-kde-0.95.1-4.fc12.*.rpm"
killall /usr/libexec/polkit-gnome-authentication-agent-1
/usr/libexec/kde4/polkit-kde-authentication-agent-1 &
pidof /usr/libexec/kde4/polkit-kde-authentication-agent-1
pkexec echo "Hello, world"
  1. KDE (not the Gnome one) authentication dialog should appear (above all windows)
  2. You can display details of the action
  3. You can enter wrong root password and the dialog shows an error with short delay (delay is needed to prevent automatic attacks)
  4. PolicyKit should deny your action on pressing Cancel button or after 3 unsuccessful attempts to enter password
  5. You can enter proper root password, dialog will disappear and the text Hello, World appears in the terminal window
ps aux | grep polkit

Known issues