app-crypt/monkeysphere: Start fixing tests
[portage-overlay.git] / app-crypt / monkeysphere / files / monkeysphere-0.36_tests_gnupg2.patch
1 diff -r c13f4b11061e tests/keytrans
2 --- a/tests/keytrans    Sun Feb 16 19:24:08 2014 +0100
3 +++ b/tests/keytrans    Sun Feb 16 19:27:42 2014 +0100
4 @@ -131,9 +131,9 @@
5  cat >"$TEMPDIR"/expectedout <<EOF
6  pub:u:1024:1:$KEYID:$timestamp:::u:::scSC:
7  uid:u::::$timestamp::E90EC72E68C6C2A0751DADC70F54F60D27B88C3D::monkeymonkey:
8 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
9 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
10  uid:u::::$timestamp::8200BD0425CC70C7D698DF3FE412044EAAB83F94::testtest:
11 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
12 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
13  EOF
14  
15  diff -u "$TEMPDIR"/expectedout <(gpg --check-sigs --with-colons | grep -v ^tru)
16 @@ -159,10 +159,10 @@
17  cat >"$TEMPDIR"/expectedout <<EOF
18  pub:u:1024:1:$KEYID:$timestamp:::u:::scSC:
19  uid:u::::$timestamp::E90EC72E68C6C2A0751DADC70F54F60D27B88C3D::monkeymonkey:
20 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
21 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
22  uid:r::::::8200BD0425CC70C7D698DF3FE412044EAAB83F94::testtest:
23 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
24 -rev:!::1:$KEYID:$revtime::::monkeymonkey:30x:
25 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
26 +rev:!::1:$KEYID:$revtime::::monkeymonkey:30x:::::8:
27  EOF
28  
29  
30 @@ -190,15 +190,15 @@
31  cat >"$TEMPDIR"/expectedout <<EOF
32  pub:u:1024:1:$KEYID:$timestamp:::u:::scSC:
33  uid:u::::$timestamp::E90EC72E68C6C2A0751DADC70F54F60D27B88C3D::monkeymonkey:
34 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
35 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
36  uid:r::::::8200BD0425CC70C7D698DF3FE412044EAAB83F94::testtest:
37 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
38 -rev:!::1:$KEYID:$revtime::::monkeymonkey:30x:
39 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
40 +rev:!::1:$KEYID:$revtime::::monkeymonkey:30x:::::8:
41  uid:u::::$timestamp::EDDC32D783E7F4C7B6982D9AE5DC4A61000648BA::baz:
42 -sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:
43 +sig:!::1:$KEYID:$timestamp::::monkeymonkey:13x:::::8:
44  pub:-:1024:1:$NEWKEYID:$(($timestamp + 1)):::-:::caCA:
45  uid:-::::$(($timestamp + 1))::A0D708F51CC257DEFC01AEDE1E0A5F329DFD8F16::fubar:
46 -sig:!::1:$NEWKEYID:$(($timestamp + 1))::::fubar:13x:
47 +sig:!::1:$NEWKEYID:$(($timestamp + 1))::::fubar:13x:::::8:
48  EOF
49  
50  echo "test: diff expected gpg list output"