From: Jameson Rollins Date: Mon, 18 Jan 2010 15:53:27 +0000 (-0500) Subject: fix keytrans test to handle possible permuted output of keytrans listfprs from expect... X-Git-Tag: monkeysphere_0.28~30 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d6a9bf7fb5c3811db1cec6ee954515c318057f49;p=monkeysphere.git fix keytrans test to handle possible permuted output of keytrans listfprs from expected order --- diff --git a/Makefile b/Makefile index 7d13c32..9381b03 100755 --- a/Makefile +++ b/Makefile @@ -83,8 +83,12 @@ installman: releasenote: ./utils/build-releasenote -test: - MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/keytrans +test: test-keytrans test-basic + +test-basic: MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/basic +test-keytrans: + MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/keytrans + .PHONY: all tarball debian-package freebsd-distinfo clean install installman releasenote test diff --git a/tests/keytrans b/tests/keytrans index e70751d..62aa4f2 100755 --- a/tests/keytrans +++ b/tests/keytrans @@ -196,6 +196,7 @@ uid:-::::$(($timestamp + 1))::A0D708F51CC257DEFC01AEDE1E0A5F329DFD8F16::fubar: sig:!::1:$NEWKEYID:$(($timestamp + 1))::::fubar:13x: EOF +echo "test: diff expected gpg list output" diff -u "$TEMPDIR"/expectedout <(gpg --check-sigs --with-colons --fixed-list-mode | grep -v ^tru) cat >"$TEMPDIR"/expectedout <"$TEMPDIR"/expectedout <