gpgme/tests/gpg/pinentry
NIIBE Yutaka 58130b97f6 tests: Fix for NetBSD.
* tests/gpg/pinentry: Use /bin/sh instead of Bash.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2018-01-29 12:04:55 +09:00

23 lines
604 B
Bash
Executable File

#! /bin/sh
# Dummy pinentry
#
# Copyright 2008 g10 Code GmbH
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This file is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.
echo OK Your orders please
while read cmd; do
case $cmd in
GETPIN) echo D abc; echo OK;;
*) echo OK;;
esac
done