Make use of the card's extended capabilities.
[gnupg.git] / tests / openpgp / import.test
blob6117046998fcbf85503ad109024c738cfa3fa030
1 #!/bin/sh
2 # Copyright 2008 Free Software Foundation, Inc.
3 # This file is free software; as a special exception the author gives
4 # unlimited permission to copy and/or distribute it, with or without
5 # modifications, as long as this notice is preserved. This file is
6 # distributed in the hope that it will be useful, but WITHOUT ANY
7 # WARRANTY, to the extent permitted by law; without even the implied
8 # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 . $srcdir/defs.inc || exit 3
12 i=$srcdir/bug894-test.asc
13 info "Checking bug 894: segv importing certain keys."
14 if $GPG --import $i; then
16 else
17 error "$i: import failed (bug 894)"