1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-05-03 11:26:06 +02:00
parent 83865be35c
commit 33aacc3d4b
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
7 changed files with 40 additions and 18 deletions

View file

@ -55,13 +55,24 @@ show_stdnames (void)
{
const char *name, *assname;
int iterator = 0;
int count;
printf ("Known envvars:");
printf (" > Known envvars:");
count = 20;
while ((name = session_env_list_stdenvnames (&iterator, &assname)))
{
if (count > 60)
{
printf ("\n >");
count = 7;
}
printf ( " %s", name);
count += strlen (name) + 1;
if (assname)
printf ( "(%s)", assname);
{
printf ( "(%s)", assname);
count += strlen (assname) + 2;
}
}
putchar('\n');
}