last perl tests migrated to unittests.sh

This commit is contained in:
Thomas von Dein
2016-10-25 21:33:16 +02:00
parent 2cb91c93e0
commit 9c78f3ad63
11 changed files with 188 additions and 183 deletions

View File

@@ -2,31 +2,31 @@
#
# test the c++ api
check-cpp-crypto () {
check_cpp_crypto () {
cmd="./cpptest 0"
expect=/ok/
check "$cmd" "$expect" "$input"
}
check-cpp-vault () {
check_cpp_vault () {
cmd="./cpptest 1"
expect=/ok/
check "$cmd" "$expect" "$input"
}
check-cpp-import-pub () {
check_cpp_import_pub () {
cmd="./cpptest 2"
expect=/ok/
check "$cmd" "$expect" "$input"
}
check-cpp-signature () {
check_cpp_signature () {
cmd="./cpptest 3"
expect=/ok/
check "$cmd" "$expect" "$input"
}
check-buffer () {
check_buffer () {
cmd="./cpptest 4"
expect=/ok/
check "$cmd" "$expect" "$input"