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" GETPIN"
case $1 in case $1 in
1) 1)
printf "%s\nBYE" "$prompt" \ printf "%s\nBYE" "$prompt" \
| ./pinentry-dmenu | ./pinentry-dmenu
;; ;;
2) 2)
printf "%s\nBYE" "$confirm" \ printf "%s\nBYE" "$confirm" \
| ./pinentry-dmenu | ./pinentry-dmenu
;; ;;
3) 3)
printf "%s\nBYE" "$repeat" \ printf "%s\nBYE" "$repeat" \
| ./pinentry-dmenu | ./pinentry-dmenu
;; ;;
*) *)
printf "%s\n%s\n%s\nBYE" "$prompt" "$confirm" "$repeat" \ printf "%s\n%s\n%s\nBYE" "$prompt" "$confirm" "$repeat" \
| ./pinentry-dmenu | ./pinentry-dmenu
;; ;;
esac esac