mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2024-09-20 03:10:10 +00:00
11 lines
270 B
Bash
11 lines
270 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source ./tests/scripts/func.sh
|
||
|
|
||
|
# Get version
|
||
|
echo -n " Test version... "
|
||
|
e=$(piv version 2>&1)
|
||
|
test $? -eq 0 && echo -n "." || exit $?
|
||
|
grep -q "Application version" <<< $e && echo -n "." || exit $?
|
||
|
grep -q " found" <<< $e && echo -e ".\t${OK}" || exit $?
|