mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
29 lines
930 B
Bash
Executable File
29 lines
930 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ../.function
|
|
|
|
## doc_classifier.test -- Test doc_classifier feature
|
|
|
|
start_msg doc_classifier
|
|
|
|
#UTRACE="0 5M 0"
|
|
#UOBJDUMP="0 100k 10"
|
|
#USIMERR="error.sim"
|
|
#EXEC_ON_EXIT="/utility/stack_dump.sh"
|
|
export UTRACE UOBJDUMP USIMERR EXEC_ON_EXIT
|
|
|
|
# openssl smime -in simple-signed-object-con-due-smime-allegati.eml -pk7out | openssl pkcs7 -print_certs -text
|
|
# ------------------------------------------------------------------------------------------------------------
|
|
# Not Before: Jan 20 09:25:00 2005 GMT
|
|
# Not After : Jan 20 09:25:00 2008 GMT
|
|
|
|
CApath_rehash
|
|
|
|
start_prg doc_classifier -c ./CA/CApath -t 2005-02-10+11:00:00 `cat inp/doc_classifier.input`
|
|
|
|
#start_prg doc_classifier -c "./CA/CApath" -t "2005-01-20+10:25:08" inp/simple_signed_leonardo.eml
|
|
#start_prg doc_classifier -c "./CA/CApath" -t "2005-01-20+12:00:30" inp/simple_signed_leonardo.eml
|
|
|
|
# Test against expected output
|
|
test_output_wc l doc_classifier
|