0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00
howdy/tests/passthrough.sh

8 lines
259 B
Bash
Raw Normal View History

2018-11-21 11:58:29 +01:00
# TEST USER SUDO PASSTHOUGH (NON-ROOT)
set -o xtrace
set -e
# Check if the username passthough works correctly with sudo
howdy | ack-grep --passthru --color "current active user: travis"
sudo howdy | ack-grep --passthru --color "current active user: travis"