tests: Fixup last commit.
This commit is contained in:
parent
8f7e9b2af4
commit
6243c99f41
@ -28,7 +28,12 @@
|
|||||||
# vim: ft=zsh sw=2 ts=2 et
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
unhash sudo
|
# Simulate sudo not being installed.
|
||||||
|
#
|
||||||
|
# The 'hash' step is because, if sudo _really_ isn't installed, 'unhash sudo'
|
||||||
|
# would error out and break the test.
|
||||||
|
hash sudo=/usr/bin/env && unhash sudo
|
||||||
|
|
||||||
local PATH
|
local PATH
|
||||||
|
|
||||||
BUFFER=$'sudo ls'
|
BUFFER=$'sudo ls'
|
||||||
|
Loading…
Reference in New Issue
Block a user