mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
add test script that reads user input for subprocess testing
This commit is contained in:
parent
c965333756
commit
8013f18177
7
test/shell_script_input_prompt.sh
Executable file
7
test/shell_script_input_prompt.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
# For testing subprocesses that require input
|
||||
# Ask the user for login details
|
||||
read -p 'Username: ' user
|
||||
read -sp 'Password: ' pass
|
||||
echo
|
||||
echo Hello $user
|
||||
Loading…
Reference in a new issue