diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-06-05 20:30:30 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-06-05 20:30:30 +0100 |
commit | 540300e151752112aae050300bc92b6b32631c2a (patch) | |
tree | 97e6859773880eb25466b1d4f3609fae727dca4a /systest | |
parent | ab3efb66888bf10938c8ec312240ffd3984a7e46 (diff) | |
download | systest-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-x | systest | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |