1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

Add dnf history error for the sudo rule

$ dnf history
You don't have access to the history DB.
This commit is contained in:
Evgeny Vereshchagin 2015-07-21 06:49:56 +00:00
parent 66e2ec7e3f
commit 6d39b78824
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ from tests.utils import Command
('need to be root', ''),
('need root', ''),
('must be root', ''),
('You don\'t have access to the history DB.', ''),
('', "error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'")])
def test_match(stderr, stdout):
assert match(Command(stderr=stderr, stdout=stdout), None)

View File

@ -14,6 +14,7 @@ patterns = ['permission denied',
'need to be root',
'need root',
'only root can do that',
'You don\'t have access to the history DB.',
'authentication is required']