diff options
author | Werner Koch <[email protected]> | 2016-05-03 09:26:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-05-03 09:26:06 +0000 |
commit | 33aacc3d4bbd6a82d7e7ceca058970879741b7da (patch) | |
tree | 87d74f35156740dc845f8a5d6bfbd610f490fbf7 /tests | |
parent | gpg: Emit status lines TOFU_STATS and TOFU_STATS_LONG. (diff) | |
download | gnupg-33aacc3d4bbd6a82d7e7ceca058970879741b7da.tar.gz gnupg-33aacc3d4bbd6a82d7e7ceca058970879741b7da.zip |
tests: Silence output of some tests.
* common/t-exechelp.c (print_open_fds): Silence non-verbose output.
(test_close_all_fds): Ditto.
* common/t-session-env.c (show_stdnames): Indent output.
* g10/test.c (TEST): Silence non-verbose okay output.
(exit_tests): Ditto.
* tools/gpg-zip.in (tar_verbose_opt): Add option --quiet.
* tests/openpgp/gpgtar.test (GPGZIP): Pass option --quiet.
* tests/openpgp/mds.test: Indent MD5 notice.
* tests/openpgp/version.test: Indent --version output.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/openpgp/gpgtar.test | 2 | ||||
-rwxr-xr-x | tests/openpgp/mds.test | 2 | ||||
-rwxr-xr-x | tests/openpgp/version.test | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/openpgp/gpgtar.test b/tests/openpgp/gpgtar.test index 63bed7025..2f33f75c9 100755 --- a/tests/openpgp/gpgtar.test +++ b/tests/openpgp/gpgtar.test @@ -68,7 +68,7 @@ do_test() awk '{print $NF}' "$FILELIST" | grep "^${F}$" >/dev/null done - $TOOL --gpg "$GPG" --gpg-args "$GPGARGS" $EXTRACT_FLAGS \ + $TOOL --gpg "$GPG" --gpg-args "$GPGARGS" $EXTRACT_FLAGS --quiet \ --tar-args --directory="${TESTDIR}" \ "${TESTDIR}/test.tar.pgp" for F in $TESTFILES diff --git a/tests/openpgp/mds.test b/tests/openpgp/mds.test index 944f535cd..bb7331269 100755 --- a/tests/openpgp/mds.test +++ b/tests/openpgp/mds.test @@ -26,7 +26,7 @@ cat /dev/null | $GPG --with-colons --print-mds >y if have_hash_algo "MD5"; then test_one ":1:" "D41D8CD98F00B204E9800998ECF8427E" else - echo "Hash algorithm MD5 is not installed (not an error)" + echo " > Hash algorithm MD5 is not installed (not an error)" fi # SHA-1 test_one ":2:" "DA39A3EE5E6B4B0D3255BFEF95601890AFD80709" diff --git a/tests/openpgp/version.test b/tests/openpgp/version.test index be565fb6f..9d265ad06 100755 --- a/tests/openpgp/version.test +++ b/tests/openpgp/version.test @@ -105,6 +105,6 @@ $GPG_PRESET_PASSPHRASE --preset -P abc A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD info "Printing the GPG version" -$GPG --version +$GPG --version | awk '{print " > " $0}' #fixme: check that the output is as expected |