summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/shell_script_input_prompt.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/shell_script_input_prompt.sh b/test/shell_script_input_prompt.sh
new file mode 100755
index 000000000..eb3a31374
--- /dev/null
+++ b/test/shell_script_input_prompt.sh
@@ -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