Hello community, here is the log from the commit of package xauth for openSUSE:Factory checked in at 2014-05-10 08:31:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xauth (Old) and /work/SRC/openSUSE:Factory/.xauth.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xauth" Changes: -------- --- /work/SRC/openSUSE:Factory/xauth/xauth.changes 2013-10-29 09:40:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xauth.new/xauth.changes 2014-05-10 08:32:02.000000000 +0200 @@ -1,0 +2,9 @@ +Wed May 7 10:01:28 UTC 2014 - [email protected] + +- Update to version 1.0.9 + * Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions + * Do not install test_xauth during "make install" as it is + * Fix warning about warn_unused_result triggered by WRITES. + * Fixed missing EXTRA_DIST in tests. Extended README for releasing. + +------------------------------------------------------------------- Old: ---- xauth-1.0.8.tar.bz2 New: ---- xauth-1.0.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xauth.spec ++++++ --- /var/tmp/diff_new_pack.sC2oXz/_old 2014-05-10 08:32:03.000000000 +0200 +++ /var/tmp/diff_new_pack.sC2oXz/_new 2014-05-10 08:32:03.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xauth # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xauth -Version: 1.0.8 +Version: 1.0.9 Release: 0 Summary: Utility to edit and display the X authorization information License: MIT @@ -55,7 +55,6 @@ %defattr(-,root,root) %doc ChangeLog COPYING README %{_bindir}/xauth -%{_bindir}/test_xauth %{_mandir}/man1/xauth.1%{?ext_man} %changelog ++++++ xauth-1.0.8.tar.bz2 -> xauth-1.0.9.tar.bz2 ++++++ ++++ 5581 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/ChangeLog new/xauth-1.0.9/ChangeLog --- old/xauth-1.0.8/ChangeLog 2013-10-11 20:57:36.000000000 +0200 +++ new/xauth-1.0.9/ChangeLog 2014-04-02 20:26:56.000000000 +0200 @@ -1,3 +1,84 @@ +commit 0b120e37be8ed44188b3497bf02db48e9cf638bc +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Wed Apr 2 20:02:00 2014 +0200 + + Third version bump to 1.0.9. + + Minor change in README to include 1.0.9 in diff so that release.sh + is happy. + + Signed-off-by: Dr. Tilmann Bubeck <[email protected]> + +commit e204395a7ccf403999ffa2515379784b641745d1 +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Wed Apr 2 19:52:43 2014 +0200 + + Second version bump to 1.0.9. + + Minor change in README to push the version bump. + + Signed-off-by: Dr. Tilmann Bubeck <[email protected]> + +commit c36e9838294a6042eb7ae61fc476cbc3280aef2d +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Wed Apr 2 19:44:37 2014 +0200 + + Fixed missing EXTRA_DIST in tests. Extended README for releasing. + + The tests/Makefile.am missed the EXTRA_DIST definition which resulted in + missing files for the test done with "make check". This was fixed. + README was extended to describe howto release a new version of this + software and to clarify something from ReleaseHOWTO of x.org. + Prepare anything for releasing 1.0.9. + + Signed-off-by: Dr. Tilmann Bubeck <[email protected]> + +commit ce4bfd951160eabdb28f5534c34aa7549dba7fba +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Mon Mar 31 23:21:12 2014 +0200 + + version bump to 1.0.9 + + Prepare for a new version 1.0.9 of xauth. + + Signed-off-by: Dr. Tilmann Bubeck <[email protected]> + +commit ccf30deb585297823ea03fc68805a1c825e335fe +Author: Alan Coopersmith <[email protected]> +Date: Fri Dec 27 11:01:35 2013 -0800 + + Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions + + Required on Solaris to expose definitions in system headers that + are not defined in the XPG standards now that xtrans 1.3 defines + _XOPEN_SOURCE to 600 on Solaris. + + Fixes build failures: + gethost.c: In function ‘get_hostname’: + gethost.c:97:21: error: ‘INET6_ADDRSTRLEN’ undeclared (first use in this function) + gethost.c:97:21: note: each undeclared identifier is reported only once for each function it appears in + gethost.c:97:16: warning: unused variable ‘addr’ [-Wunused-variable] + gethost.c: In function ‘get_address_info’: + gethost.c:196:9: error: implicit declaration of function ‘strlcpy’ [-Werror=implicit-function-declaration] + gethost.c:196:9: warning: nested extern declaration of ‘strlcpy’ [-Wnested-externs] + + Signed-off-by: Alan Coopersmith <[email protected]> + Reviewed-by: Daniel Stone <[email protected]> + +commit afeb2c22ba1f7193acf814954e66f40cfd699c17 +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Sun Oct 13 21:38:10 2013 +0200 + + Fix warning about warn_unused_result triggered by WRITES. + +commit 2eb4ef59d7c27ac7972954d406ad9c2fa8123672 +Author: Dr. Tilmann Bubeck <[email protected]> +Date: Sun Oct 13 17:57:49 2013 +0200 + + * Do not install test_xauth during "make install" as it is + only used during "make check". + * perror out, if test_xauth does not find "cmdtest". + commit 4de4a231f3a718d2af0d2b00443c803f8bddfbc5 Author: Dr. Tilmann Bubeck <[email protected]> Date: Wed Oct 9 23:45:15 2013 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/README new/xauth-1.0.9/README --- old/xauth-1.0.8/README 2013-10-08 21:42:19.000000000 +0200 +++ new/xauth-1.0.9/README 2014-04-02 20:02:59.000000000 +0200 @@ -38,3 +38,37 @@ http://wiki.x.org/wiki/GitPage + + IV. RELEASING + +This section describes how to release a new version of xauth to the +public. A detailed description of this process can be found at +http://www.x.org/wiki/Development/Documentation/ReleaseHOWTO with a +few clarification below. + +For releasing under Fedora make sure, that INSTALL in +/usr/share/util-macros/ exists. If not, then please create that +file. + +To release a new version of xauth, please follow this steps: + + * git clone git://anongit.freedesktop.org/git/xorg/app/xauth + * cd xauth ; ./autogen.sh ; make ; make check + * follow ReleaseHowto inside this directory. + +Ignore these errors shown during release.sh: + + /bin/sh: ../.changelog.tmp: Permission denied + git directory not found: installing possibly empty changelog. + + cp: cannot create regular file '../.INSTALL.tmp': Permission denied + util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL. + + V. GARBAGE + +Please ignore this paragraph. It is only used to satisfying +release.sh, which wants to see the version number to the last version +in the diff, which is 1.0.9 in our case. This paragraph can be +deleted on the next release of xauth. + +[eof] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/config.h.in new/xauth-1.0.9/config.h.in --- old/xauth-1.0.8/config.h.in 2013-10-10 23:30:18.000000000 +0200 +++ new/xauth-1.0.9/config.h.in 2014-04-02 20:03:02.000000000 +0200 @@ -78,9 +78,6 @@ /* Patch version of this package */ #undef PACKAGE_VERSION_PATCHLEVEL -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -90,5 +87,40 @@ /* Support UNIX socket connections */ #undef UNIXCONN +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Version number of package */ #undef VERSION + +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE + +/* Defined if needed to expose struct msghdr.msg_control */ +#undef _XOPEN_SOURCE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/configure.ac new/xauth-1.0.9/configure.ac --- old/xauth-1.0.8/configure.ac 2013-10-09 23:27:38.000000000 +0200 +++ new/xauth-1.0.9/configure.ac 2014-04-02 20:02:59.000000000 +0200 @@ -22,7 +22,7 @@ AC_PREREQ([2.60]) AC_INIT([xauth], - [1.0.8], + [1.0.9], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xauth]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) @@ -30,6 +30,11 @@ AC_CONFIG_HEADERS([config.h]) +# Set common system defines for POSIX extensions, such as _GNU_SOURCE +# Must be called before any macros that run the compiler (like +# AC_PROG_LIBTOOL) to avoid autoconf errors. +AC_USE_SYSTEM_EXTENSIONS + # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/missing new/xauth-1.0.9/missing --- old/xauth-1.0.8/missing 2013-10-10 23:30:19.000000000 +0200 +++ new/xauth-1.0.9/missing 2014-04-02 20:03:02.000000000 +0200 @@ -1,10 +1,10 @@ #! /bin/sh -# Common stub for a few missing GNU programs while installing. +# Common wrapper for a few potentially missing GNU programs. -scriptversion=2012-01-06.18; # UTC +scriptversion=2012-06-26.16; # UTC -# Copyright (C) 1996-2012 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard <[email protected]>, 1996. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,61 +29,33 @@ exit 1 fi -run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' - -# In the cases where this matters, 'missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi +case $1 in -msg="missing on your system" + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; -case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... -Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails Supported PROGRAM values: - aclocal touch file 'aclocal.m4' - autoconf touch file 'configure' - autoheader touch file 'config.h.in' - autom4te touch the output file, or create a stub one - automake touch all 'Makefile.in' files - bison create 'y.tab.[ch]', if possible, from existing .[ch] - flex create 'lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create 'lex.yy.c', if possible, from existing .c - makeinfo touch the output file - yacc create 'y.tab.[ch]', if possible, from existing .[ch] + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. @@ -98,228 +70,141 @@ ;; -*) - echo 1>&2 "$0: Unknown '$1' option" + echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. -case $1 in - lex*|yacc*) - # Not GNU programs, they don't have --version. - ;; +# Run the given program, remember its exit status. +"$@"; st=$? - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running '$TOOL --version' or '$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $program in - aclocal*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'acinclude.m4' or '${configure_ac}'. You might want - to install the Automake and Perl packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified '${configure_ac}'. You might want to install the - Autoconf and GNU m4 packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'acconfig.h' or '${configure_ac}'. You might want - to install the Autoconf and GNU m4 packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; +# If it succeeded, we are done. +test $st -eq 0 && exit 0 - automake*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. - You might want to install the Automake and Perl packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te*) - echo 1>&2 "\ -WARNING: '$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get '$1' as part of Autoconf from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison*|yacc*) - echo 1>&2 "\ -WARNING: '$1' $msg. You should only need it if - you modified a '.y' file. You may need the Bison package - in order for those modifications to take effect. You can get - Bison from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG=\${$#} - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex*|flex*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a '.l' file. You may need the Flex package - in order for those modifications to take effect. You can get - Flex from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG=\${$#} - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - Help2man package in order for those modifications to take - effect. You can get Help2man from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit $? - fi - ;; - - makeinfo*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a '.texi' or '.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy 'make' (AIX, - DU, IRIX). You might want to install the Texinfo package or - the GNU make package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - *) - echo 1>&2 "\ -WARNING: '$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the 'README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing '$1' program." - exit 1 - ;; -esac +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi -exit 0 +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'automa4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/process.c new/xauth-1.0.9/process.c --- old/xauth-1.0.8/process.c 2013-10-08 21:42:19.000000000 +0200 +++ new/xauth-1.0.9/process.c 2014-04-02 20:02:59.000000000 +0200 @@ -636,8 +636,9 @@ static volatile Bool dieing = False; -/* poor man's puts(), for under signal handlers */ -#define WRITES(fd, S) (void)write((fd), (S), strlen((S))) +/* poor man's puts(), for under signal handlers, + extended to ignore warn_unused_result */ +#define WRITES(fd, S) {if(write((fd), (S), strlen((S))));} /* ARGSUSED */ _X_NORETURN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/test-driver new/xauth-1.0.9/test-driver --- old/xauth-1.0.8/test-driver 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/test-driver 2014-04-02 20:03:02.000000000 +0200 @@ -0,0 +1,127 @@ +#! /bin/sh +# test-driver - basic testsuite driver script. + +scriptversion=2012-06-27.10; # UTC + +# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <[email protected]> or send patches to +# <[email protected]>. + +# Make unconditional expansion of undefined variables an error. This +# helps a lot in preventing typo-related bugs. +set -u + +usage_error () +{ + echo "$0: $*" >&2 + print_usage >&2 + exit 2 +} + +print_usage () +{ + cat <<END +Usage: + test-driver --test-name=NAME --log-file=PATH --trs-file=PATH + [--expect-failure={yes|no}] [--color-tests={yes|no}] + [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT +The '--test-name', '--log-file' and '--trs-file' options are mandatory. +END +} + +# TODO: better error handling in option parsing (in particular, ensure +# TODO: $log_file, $trs_file and $test_name are defined). +test_name= # Used for reporting. +log_file= # Where to save the output of the test script. +trs_file= # Where to save the metadata of the test run. +expect_failure=no +color_tests=no +enable_hard_errors=yes +while test $# -gt 0; do + case $1 in + --help) print_usage; exit $?;; + --version) echo "test-driver $scriptversion"; exit $?;; + --test-name) test_name=$2; shift;; + --log-file) log_file=$2; shift;; + --trs-file) trs_file=$2; shift;; + --color-tests) color_tests=$2; shift;; + --expect-failure) expect_failure=$2; shift;; + --enable-hard-errors) enable_hard_errors=$2; shift;; + --) shift; break;; + -*) usage_error "invalid option: '$1'";; + esac + shift +done + +if test $color_tests = yes; then + # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'. + red='[0;31m' # Red. + grn='[0;32m' # Green. + lgn='[1;32m' # Light green. + blu='[1;34m' # Blue. + mgn='[0;35m' # Magenta. + std='[m' # No color. +else + red= grn= lgn= blu= mgn= std= +fi + +do_exit='rm -f $log_file $trs_file; (exit $st); exit $st' +trap "st=129; $do_exit" 1 +trap "st=130; $do_exit" 2 +trap "st=141; $do_exit" 13 +trap "st=143; $do_exit" 15 + +# Test script is run here. +"$@" >$log_file 2>&1 +estatus=$? +if test $enable_hard_errors = no && test $estatus -eq 99; then + estatus=1 +fi + +case $estatus:$expect_failure in + 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; + 0:*) col=$grn res=PASS recheck=no gcopy=no;; + 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; + 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; + *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; + *:*) col=$red res=FAIL recheck=yes gcopy=yes;; +esac + +# Report outcome to console. +echo "${col}${res}${std}: $test_name" + +# Register the test result, and other relevant metadata. +echo ":test-result: $res" > $trs_file +echo ":global-test-result: $res" >> $trs_file +echo ":recheck: $recheck" >> $trs_file +echo ":copy-in-global-log: $gcopy" >> $trs_file + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/010-xauth-add-inet.script new/xauth-1.0.9/tests/010-xauth-add-inet.script --- old/xauth-1.0.8/tests/010-xauth-add-inet.script 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/010-xauth-add-inet.script 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,20 @@ +#!/bin/bash + +# setup the test ennvironment inside this shell +. setup-sourced + +xauth add examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001 +xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002 +xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003 + +xauth list +xauth nlist +xauth list examplehost1/unix:0 +xauth nlist examplehost2/unix:0 + +xauth remove examplehost1/unix:0 +xauth list +xauth remove examplehost2/unix:0 +xauth remove examplehost3/unix:0 +xauth list + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/010-xauth-add-inet.stdout new/xauth-1.0.9/tests/010-xauth-add-inet.stdout --- old/xauth-1.0.8/tests/010-xauth-add-inet.stdout 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/010-xauth-add-inet.stdout 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,34 @@ +> xauth add examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001 + exits with 0 +> xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002 + exits with 0 +> xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth list +examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001 +examplehost2/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000002 +examplehost3/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth nlist +0100 000c 6578616d706c65686f737431 0001 30 0012 4d49542d4d414749432d434f4f4b49452d31 0010 b90b0fd1cf6a0e7a2c74c00000000001 +0100 000c 6578616d706c65686f737432 0001 30 0012 4d49542d4d414749432d434f4f4b49452d31 0010 b90b0fd1cf6a0e7a2c74c00000000002 +0100 000c 6578616d706c65686f737433 0001 30 0012 4d49542d4d414749432d434f4f4b49452d31 0010 b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth list examplehost1/unix:0 +examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001 + exits with 0 +> xauth nlist examplehost2/unix:0 +0100 000c 6578616d706c65686f737432 0001 30 0012 4d49542d4d414749432d434f4f4b49452d31 0010 b90b0fd1cf6a0e7a2c74c00000000002 + exits with 0 +> xauth remove examplehost1/unix:0 + exits with 0 +> xauth list +examplehost2/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000002 +examplehost3/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth remove examplehost2/unix:0 + exits with 0 +> xauth remove examplehost3/unix:0 + exits with 0 +> xauth list + exits with 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/020-xauth-add-local.script new/xauth-1.0.9/tests/020-xauth-add-local.script --- old/xauth-1.0.8/tests/020-xauth-add-local.script 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/020-xauth-add-local.script 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,22 @@ +#!/bin/bash + +# setup the test ennvironment inside this shell +. setup-sourced + +# Execute the test +xauth add unix:0 . b90b0fd1cf6a0e7a2c74c00000000004 +xauth add 127.0.0.1:1 . b90b0fd1cf6a0e7a2c74c00000000005 +xauth add :2 . b90b0fd1cf6a0e7a2c74c00000000006 +xauth add :3.5 . b90b0fd1cf6a0e7a2c74c00000000007 +xauth add :4 . b90b0fd1cf6a0e7a2c74c00000000004 + +# List the number of entries added +xauth list | wc -l + +# Try to match them and print cookie +xauth list unix:0 | awk '{print $3}' +xauth list 127.0.0.1:1 | awk '{print $3}' +xauth list 127.0.0.1:2 | awk '{print $3}' +xauth list 127.0.0.1:3.6 | awk '{print $3}' +xauth list :4 | awk '{print $3}' + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/020-xauth-add-local.stdout new/xauth-1.0.9/tests/020-xauth-add-local.stdout --- old/xauth-1.0.8/tests/020-xauth-add-local.stdout 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/020-xauth-add-local.stdout 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,26 @@ +> xauth add unix:0 . b90b0fd1cf6a0e7a2c74c00000000004 + exits with 0 +> xauth add 127.0.0.1:1 . b90b0fd1cf6a0e7a2c74c00000000005 + exits with 0 +> xauth add :2 . b90b0fd1cf6a0e7a2c74c00000000006 + exits with 0 +> xauth add :3.5 . b90b0fd1cf6a0e7a2c74c00000000007 + exits with 0 +> xauth add :4 . b90b0fd1cf6a0e7a2c74c00000000004 + exits with 0 +7 +list +b90b0fd1cf6a0e7a2c74c00000000004 +0 +list +b90b0fd1cf6a0e7a2c74c00000000005 +0 +list +b90b0fd1cf6a0e7a2c74c00000000006 +0 +list +b90b0fd1cf6a0e7a2c74c00000000007 +0 +list +b90b0fd1cf6a0e7a2c74c00000000004 +0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/030-xauth-extract.script new/xauth-1.0.9/tests/030-xauth-extract.script --- old/xauth-1.0.8/tests/030-xauth-extract.script 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/030-xauth-extract.script 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,26 @@ +#!/bin/bash + +# setup the test ennvironment inside this shell +. setup-sourced + +# Execute the test +xauth add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001 +xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002 +xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003 + +# Use xauth_silent because otherwise the system dependant pathes are printed +XAUTHORITY2=$DATADIR/.Xauthority2 +xauth_silent extract $XAUTHORITY2 examplehost2/unix:0 +xauth_silent -f $XAUTHORITY2 list + +XAUTHORITY3=$DATADIR/.Xauthority3 +xauth_silent extract $XAUTHORITY3 examplehost3/unix:0 +xauth_silent -f $XAUTHORITY3 list + +rm $XAUTHORITY ; touch $XAUTHORITY +xauth_silent merge $XAUTHORITY2 $XAUTHORITY3 +xauth list + + + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/030-xauth-extract.stdout new/xauth-1.0.9/tests/030-xauth-extract.stdout --- old/xauth-1.0.8/tests/030-xauth-extract.stdout 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/030-xauth-extract.stdout 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,22 @@ +> xauth add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001 + exits with 0 +> xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002 + exits with 0 +> xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth some silent commands which should not be logged... + exits with 0 +> xauth some silent commands which should not be logged... +examplehost2/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000002 + exits with 0 +> xauth some silent commands which should not be logged... + exits with 0 +> xauth some silent commands which should not be logged... +examplehost3/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 +> xauth some silent commands which should not be logged... + exits with 0 +> xauth list +examplehost2/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000002 +examplehost3/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000003 + exits with 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/040-xauth-source.script new/xauth-1.0.9/tests/040-xauth-source.script --- old/xauth-1.0.8/tests/040-xauth-source.script 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/040-xauth-source.script 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,10 @@ +#!/bin/bash + +# setup the test ennvironment inside this shell +. setup-sourced + +# Execute the test +CMDFILE=$DATADIR/xauth-cmdfile +echo add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001 > $CMDFILE +xauth_silent source $CMDFILE +xauth list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/040-xauth-source.stdout new/xauth-1.0.9/tests/040-xauth-source.stdout --- old/xauth-1.0.8/tests/040-xauth-source.stdout 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/040-xauth-source.stdout 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,5 @@ +> xauth some silent commands which should not be logged... + exits with 0 +> xauth list +examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001 + exits with 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/090-xauth-bad-usage.script new/xauth-1.0.9/tests/090-xauth-bad-usage.script --- old/xauth-1.0.8/tests/090-xauth-bad-usage.script 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/090-xauth-bad-usage.script 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,17 @@ +#!/bin/bash + +# setup the test ennvironment inside this shell +. setup-sourced + +# Execute the test + +# The following displays are bad: +xauth add bad4/unix:0 . b90b0fd1cf6a0e7a2c74c0000000002 +xauth add bad4/unix:0 . ThisIsNotHex0e7a2c74c00000000011 +xauth add bad4/unxi:0 . b90b0fd1cf6a0e7a2c74c00000000021 +xauth add bad5/unix: . b90b0fd1cf6a0e7a2c74c00000000022 +xauth add bad6/something/unix:0 . b90b0fd1cf6a0e7a2c74c00000000023 +xauth add bad7/unix . b90b0fd1cf6a0e7a2c74c00000000024 +xauth add bad8 . b90b0fd1cf6a0e7a2c74c00000000025 +xauth add 127.0.0.:0 . b90b0fd1cf6a0e7a2c74c00000000026 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/090-xauth-bad-usage.stderr new/xauth-1.0.9/tests/090-xauth-bad-usage.stderr --- old/xauth-1.0.8/tests/090-xauth-bad-usage.stderr 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/090-xauth-bad-usage.stderr 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,8 @@ +../xauth: (argv):1: key contains odd number of or non-hex characters +../xauth: (argv):1: key contains odd number of or non-hex characters +../xauth: (argv):1: bad display name "bad4/unxi:0" in "add" command +../xauth: (argv):1: bad display name "bad5/unix:" in "add" command +../xauth: (argv):1: bad display name "bad6/something/unix:0" in "add" command +../xauth: (argv):1: bad display name "bad7/unix" in "add" command +../xauth: (argv):1: bad display name "bad8" in "add" command +../xauth: (argv):1: bad display name "127.0.0.:0" in "add" command diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/090-xauth-bad-usage.stdout new/xauth-1.0.9/tests/090-xauth-bad-usage.stdout --- old/xauth-1.0.8/tests/090-xauth-bad-usage.stdout 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/090-xauth-bad-usage.stdout 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,16 @@ +> xauth add bad4/unix:0 . b90b0fd1cf6a0e7a2c74c0000000002 + exits with 1 +> xauth add bad4/unix:0 . ThisIsNotHex0e7a2c74c00000000011 + exits with 1 +> xauth add bad4/unxi:0 . b90b0fd1cf6a0e7a2c74c00000000021 + exits with 1 +> xauth add bad5/unix: . b90b0fd1cf6a0e7a2c74c00000000022 + exits with 1 +> xauth add bad6/something/unix:0 . b90b0fd1cf6a0e7a2c74c00000000023 + exits with 1 +> xauth add bad7/unix . b90b0fd1cf6a0e7a2c74c00000000024 + exits with 1 +> xauth add bad8 . b90b0fd1cf6a0e7a2c74c00000000025 + exits with 1 +> xauth add 127.0.0.:0 . b90b0fd1cf6a0e7a2c74c00000000026 + exits with 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/Makefile.am new/xauth-1.0.9/tests/Makefile.am --- old/xauth-1.0.8/tests/Makefile.am 2013-10-10 23:29:31.000000000 +0200 +++ new/xauth-1.0.9/tests/Makefile.am 2014-04-02 20:02:59.000000000 +0200 @@ -1,7 +1,14 @@ ## Process this file with automake to produce Makefile.in +EXTRA_DIST = setup-sourced \ + 010-xauth-add-inet.script 010-xauth-add-inet.stdout \ + 020-xauth-add-local.script 020-xauth-add-local.stdout \ + 030-xauth-extract.script 030-xauth-extract.stdout \ + 040-xauth-source.script 040-xauth-source.stdout \ + 090-xauth-bad-usage.script 090-xauth-bad-usage.stderr 090-xauth-bad-usage.stdout + TESTS = test_xauth -bin_PROGRAMS = test_xauth +check_PROGRAMS = test_xauth test_xauth_SOURCES = test_xauth.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/setup-sourced new/xauth-1.0.9/tests/setup-sourced --- old/xauth-1.0.8/tests/setup-sourced 1970-01-01 01:00:00.000000000 +0100 +++ new/xauth-1.0.9/tests/setup-sourced 2014-04-02 20:02:59.000000000 +0200 @@ -0,0 +1,26 @@ +# +# This script gets sourced by every test to setup a common environment. +# + +# Force all output to be standard english +export LANG=C + +# Define the name of the authority file, which we use during test. +export XAUTHORITY=${DATADIR:-/tmp}/.Xauthority + +# Start a new authority file +rm -f $XAUTHORITY ; touch $XAUTHORITY + +function xauth() +{ + echo "> xauth" "$@" + ../xauth "$@" + echo " exits with $?" +} + +function xauth_silent() +{ + echo "> xauth" "some silent commands which should not be logged..." + ../xauth "$@" + echo " exits with $?" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xauth-1.0.8/tests/test_xauth.c new/xauth-1.0.9/tests/test_xauth.c --- old/xauth-1.0.8/tests/test_xauth.c 2013-10-10 23:29:31.000000000 +0200 +++ new/xauth-1.0.9/tests/test_xauth.c 2014-04-02 20:02:59.000000000 +0200 @@ -1,6 +1,10 @@ +#include <stdio.h> +#include <stdlib.h> #include <unistd.h> int main(int argc, char *argv[]) { execlp("cmdtest", "cmdtest", ".", NULL); + perror("Unable to execute 'cmdtest'. Make sure, that it is installed"); + exit(1); } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
