rage: include klist output

Summary:
We're seeing a rise in the number of auth issues. As a first step,
let's have rage grab klist, so we can see if the user has a valid Kerberos
ticket for hg.vvv or not.

Test Plan: Run it and see https://phabricator.intern.facebook.com/P57315650

Reviewers: #sourcecontrol, ikostia

Reviewed By: ikostia

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4907615

Signature: t1:4907615:1492546856:969cab7b8deacf220c374d4c9e1b6e99f84ca059
This commit is contained in:
Simon Farnsworth 2017-04-19 03:18:04 -07:00
parent aeef0ad5cc
commit e31246ce99

View File

@ -204,6 +204,7 @@ def rage(ui, repo, *pats, **opts):
clear_rules=False))),
('usechg', _failsafe(usechginfo)),
('rpm info', _failsafe(rpminfo)),
('klist', _failsafe(lambda: shcmd('klist', check=False))),
('ifconfig', _failsafe(lambda: shcmd('ifconfig'))),
('airport', _failsafe(
lambda: shcmd('/System/Library/PrivateFrameworks/Apple80211.' +