Permalink
Browse files

On some systems saslpluginviewer is named pluginviewer.

  • Loading branch information...
1 parent 4df1d1a commit fc8b29e2a7efc86a301dfed6838c656bf1381539 @ozten ozten committed Oct 7, 2011
Showing with 6 additions and 1 deletion.
  1. +2 −0 README.md
  2. +4 −1 test/unit_privileged_test_suite.py
View
@@ -106,6 +106,8 @@ There are 3 ways to test, pluginviewer, slapd, and sample program.
### pluginviewer ###
+*Note:* On some systems this is called pluginviewer.
+
sudo saslpluginviewer
Do you see BROWSER-ID in the list of SASL client and server mechanisms?
@@ -18,7 +18,10 @@
class InstalledProperlyTestCase(unittest.TestCase):
def test_pluginviewer_sees_browserid(self):
- p = subprocess.Popen(['saslpluginviewer'], stdout=subprocess.PIPE)
+ try:
+ p = subprocess.Popen(['saslpluginviewer'], stdout=subprocess.PIPE)
+ except OSError:
+ p = subprocess.Popen(['pluginviewer'], stdout=subprocess.PIPE)
p.wait()
output = p.stdout.readlines()
seen = self._parse_pv(output)

0 comments on commit fc8b29e

Please sign in to comment.