Christian Hesse <[email protected]> writes:
> Hello everybody,
>
> check for pskctool -h output fails for me. The attached patch fixes that for
> me.
Which gengetopt version are you using? Since the selfcheck compares
output that is generated by gengetopt, I suspect the difference is
caused by using different gengetopt versions. Could you try the patch
below instead? It removes trailing newlines from the generated file.
/Simon
diff --git a/libpskc/examples/Makefile.am b/libpskc/examples/Makefile.am
index f881cd6..a95dd38 100644
--- a/libpskc/examples/Makefile.am
+++ b/libpskc/examples/Makefile.am
@@ -43,7 +43,7 @@ pskc-hotp-signed.xml: $(srcdir)/pskc-hotp.xml
mv tmp $@
pskctool-h.txt: $(top_srcdir)/../pskctool/pskctool.ggo
$(top_srcdir)/../pskctool/pskctool.c
- $(top_builddir)/../pskctool/pskctool | sed '1,2d' > tmp 2>&1
+ $(top_builddir)/../pskctool/pskctool | sed '1,2d;s/ \+$$//' > tmp 2>&1
mv tmp $@
pskc-figure6-debug.txt: $(top_srcdir)/../pskctool/tests/pskc-figure6.xml