source: examples/creddy_tests/keyid.ck @ 7e07118

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 7e07118 was 14eea4a, checked in by Mei <mei@…>, 11 years ago

1) update regression tests to work on bsd's 'test'/wc format

  • Property mode set to 100755
File size: 782 bytes
Line 
1#!/bin/sh
2
3# keyid.ck
4
5q=`diff -q keyid.out keyid.save 2>/dev/null |grep -c differ`
6result=`diff -I "PEM routines:PEM_read_bio:no start line" keyid.out keyid.save 2>/dev/null |wc -l`
7
8if [ $q -eq 1 -a $result -eq 6 ]; then
9    return 0
10else
11    return 1
12fi
13
14
15# ignore
16#
17#< 615eb760e357ac4bd010dd4cab41c6734c07280f
18#< 10947:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
19#---
20#> cb53efdb302f06bcbcd6166d28b10f7bad994a74
21#> 10868:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
22#5c5
23#< 10948:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
24#---
25#> 10869:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
26#
27#
28
Note: See TracBrowser for help on using the repository browser.