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

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

i1) adjust expected test result to changes in python's error catching

  • Property mode set to 100755
File size: 629 bytes
RevLine 
[461541a]1#!/bin/sh
2
3# display.ck
4
[ecb1628]5result=`diff -I "PRIVATE KEY" display.out display.save 2>/dev/null |wc -l`
[461541a]6
[7e07118]7if [ $result -eq 34 ]; then
[461541a]8    return 0
9else
10    return 1
11fi
12
13
14# ignore many sets of
15#5,7c5,7
16#<     Not before: 2013-05-06 18:40:31 PST [1367894431]
17#<     Not after:  2016-04-20 18:40:31 PST [1461206431]
18#< 11979:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
19#---
20#>     Not before: 2013-05-06 18:39:25 PST [1367894365]
21#>     Not after:  2016-04-20 18:39:25 PST [1461206365]
22#> 11951:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
23#
Note: See TracBrowser for help on using the repository browser.