minor changes

This commit is contained in:
mrdotx 2021-07-28 13:53:52 +02:00
parent d048c52b04
commit a2f5a65490
No known key found for this signature in database
GPG Key ID: 433F70E636E6EB87

32
test.sh
View File

@ -17,20 +17,20 @@ SETREPEAT repeat
GETPIN"
case $1 in
1)
printf "%s\nBYE" "$prompt" \
| ./pinentry-dmenu
;;
2)
printf "%s\nBYE" "$confirm" \
| ./pinentry-dmenu
;;
3)
printf "%s\nBYE" "$repeat" \
| ./pinentry-dmenu
;;
*)
printf "%s\n%s\n%s\nBYE" "$prompt" "$confirm" "$repeat" \
| ./pinentry-dmenu
;;
1)
printf "%s\nBYE" "$prompt" \
| ./pinentry-dmenu
;;
2)
printf "%s\nBYE" "$confirm" \
| ./pinentry-dmenu
;;
3)
printf "%s\nBYE" "$repeat" \
| ./pinentry-dmenu
;;
*)
printf "%s\n%s\n%s\nBYE" "$prompt" "$confirm" "$repeat" \
| ./pinentry-dmenu
;;
esac