mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-16 19:40:57 +01:00
38 lines
521 B
Bash
38 lines
521 B
Bash
# -*-sh-*-
|
|
#
|
|
# test the c++ api
|
|
|
|
check_cpp_crypto () {
|
|
cmd="./cpptest 0"
|
|
expect=/ok/
|
|
check "$cmd" "$expect" "$input"
|
|
}
|
|
|
|
check_cpp_vault () {
|
|
cmd="./cpptest 1"
|
|
expect=/ok/
|
|
check "$cmd" "$expect" "$input"
|
|
}
|
|
|
|
check_cpp_import_pub () {
|
|
cmd="./cpptest 2"
|
|
expect=/ok/
|
|
check "$cmd" "$expect" "$input"
|
|
}
|
|
|
|
check_cpp_signature () {
|
|
cmd="./cpptest 3"
|
|
expect=/ok/
|
|
check "$cmd" "$expect" "$input"
|
|
}
|
|
|
|
check_buffer () {
|
|
cmd="./cpptest 4"
|
|
expect=/ok/
|
|
check "$cmd" "$expect" "$input"
|
|
}
|
|
|
|
prepare () {
|
|
:
|
|
}
|