add test script that reads user input for subprocess testing

This commit is contained in:
Jesse Duffield 2018-08-08 20:44:06 +10:00
parent c965333756
commit 8013f18177

View 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