mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2024-09-20 03:10:10 +00:00
e0daea80af
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
11 lines
270 B
Bash
Executable File
11 lines
270 B
Bash
Executable File
#!/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 $?
|