diff options
Diffstat (limited to 'eclass/einput.eclass')
-rw-r--r-- | eclass/einput.eclass | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/eclass/einput.eclass b/eclass/einput.eclass index a7a2856..dde78a8 100644 --- a/eclass/einput.eclass +++ b/eclass/einput.eclass @@ -192,34 +192,3 @@ einput_prompt_secret() { echo EINPUT_ANSWER="$answer" } - -# XXX Tests - don't forget to remove! -TEST_LIST=( - "1" "For the money" - "2" "For the show" - "3" "To get ready" - "4" "Now go, cat, go!" - "5" "But don't you" - "6" "Step on my blue suede shoes" - "7" "You can do anything you want" - "8" "But lay off of my blue suede shoes" - "9" "There once was a man from Derry" - "10" "A lass like an ape he did marry" - "11" "He gave her bananas" - "12" "She soiled his pajamas" - "13" "My limericks, like bollocks big and hairy" - "r" "Somebody stop me" - "R" "No, really..." -) -einput_list "${TEST_LIST[@]}" "Choose your madness" -echo "Value returned: ${EINPUT_ANSWER}" -echo -einput_confirm "Does anyone know you wear ladies' underwear?" "0" -echo "Value returned: $?" -echo -einput_prompt "Who's your master, pitiful slave?" "You are, Mistress Gentoo" -echo "Value returned: ${EINPUT_ANSWER}" -echo -einput_prompt_secret "Please enter your root password" -echo "Value returned: ${EINPUT_ANSWER}" -echo |