Fix the test
commit1526af554b6ed2704ba39a28031c456aed8d0e7c
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateFri 24 Jan 2014, 22:42 (13 years ago)
parentb22d709
tests/autopilot/unity8/shell/tests/test_system_integration.py+1−1
@@ -31,5 +31,5 @@ class SystemIntegrationTests(UnityTestCase):
3131 scenarios = _get_device_emulation_scenarios()
3232
3333 def test_networkmanager_integration(self):
34− retvalue = os.system("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process $$")
34+ retvalue = os.system("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process `pidof -s unity8`")
3535 self.assertThat(retvalue, Equals(0))