[Pkg-privacy-commits] [Git][pkg-privacy-team/msva-perl][master] 2 commits: msva-query-agent: produce newline-terminated output

Ulrike Uhlig ulrike at debian.org
Mon May 28 10:30:13 BST 2018


Ulrike Uhlig pushed to branch master at Privacy Maintainers / msva-perl


Commits:
58399467 by Daniel Kahn Gillmor at 2013-09-09T02:22:18-04:00
msva-query-agent: produce newline-terminated output

- - - - -
e0728441 by Daniel Kahn Gillmor at 2013-09-09T02:22:59-04:00
create a test gpg.conf for tests/basic to avoid spurious warnings

- - - - -


3 changed files:

- Changelog
- msva-query-agent
- tests/basic


Changes:

=====================================
Changelog
=====================================
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,7 @@ msva-perl (0.9.2) upstream;
   * handle multiple keyserver entries in gpg.conf gracefully
     (closes MS #6252)
   * also accept DOS-style CR/LF line endings in PEM-encoded X.509 certs
+  * msva-query-agent: produce newline-terminated output.
 
  -- Daniel Kahn Gillmor <dkg at fifthhorseman.net>  Mon, 09 Sep 2013 01:16:47 -0400
 


=====================================
msva-query-agent
=====================================
--- a/msva-query-agent
+++ b/msva-query-agent
@@ -43,7 +43,7 @@ if ((!defined($context)) ||
   my ($status,$ret) = $client->agent_info();
   $client->log('verbose', "status: %s\n", $status);
   if (defined $ret) {
-    printf("%s", $ret->{server});
+    printf("%s\n", $ret->{server});
     exit 0;
   }
   exit 1;
@@ -80,7 +80,7 @@ if (defined $ret) {
     exit 1;
   }
 } else {
-  printf("%s", $status);
+  printf("%s\n", $status);
   exit 100;
 }
 


=====================================
tests/basic
=====================================
--- a/tests/basic
+++ b/tests/basic
@@ -38,6 +38,7 @@ printf "\ndone\n"
 
 WORKDIR=$(mktemp -d)
 mkdir -m 0700 "${WORKDIR}/"{pkc,sec,gnupg}
+touch "${WORKDIR}/gnupg/gpg.conf"
 export GNUPGHOME="${WORKDIR}/gnupg"
 
 if gpg --quick-random --version ; then



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/msva-perl/compare/b0728b1c6386ae575d868cf7c94272bd704d3719...e072844199313e27742e43d4ebf1f0b0b5d01387

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/msva-perl/compare/b0728b1c6386ae575d868cf7c94272bd704d3719...e072844199313e27742e43d4ebf1f0b0b5d01387
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20180528/96c01859/attachment-0001.html>


More information about the Pkg-privacy-commits mailing list