summaryrefslogtreecommitdiff
path: root/systest
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-06-05 20:30:30 +0100
committerLars Wirzenius <liw@liw.fi>2011-06-05 20:30:30 +0100
commit540300e151752112aae050300bc92b6b32631c2a (patch)
tree97e6859773880eb25466b1d4f3609fae727dca4a /systest
parentab3efb66888bf10938c8ec312240ffd3984a7e46 (diff)
downloadsystest-540300e151752112aae050300bc92b6b32631c2a.tar.gz
Fix up sudo test so it should work.
Can't know if it does, since can't run tests right now.
Diffstat (limited to 'systest')
-rwxr-xr-xsystest5
1 files changed, 3 insertions, 2 deletions
diff --git a/systest b/systest
index 5055b62..c48d2d4 100755
--- a/systest
+++ b/systest
@@ -117,8 +117,9 @@ class SystemTest(cliapp.Application):
out = self.targetcmd(['cat'], stdin='foo')
self.assertEqual(out, 'foo')
-# def test_sudo_works(self):
-# out = self.targetcmd(['sudo', 'id'], stdin=self.password)
+# def test_sudo(self):
+# out = self.targetcmd(['sudo', 'id'],
+# stdin=self.settings['user-password'])
# self.assertMatches(r'^uid=0\(root\)', out)