aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authordancer <dancer>2005-12-12 00:32:38 +0000
committerdancer <dancer>2005-12-12 00:32:38 +0000
commit620881f9de7d3ab459ca3d9de3fc48f39d946bf5 (patch)
treead660f060830f63fdfaa3c10d81ff78ce17949b2 /testsuite
parentbe7898a7a8c834385f94256e636b731486c7b2e0 (diff)
downloadpbuilder-620881f9de7d3ab459ca3d9de3fc48f39d946bf5.tar
pbuilder-620881f9de7d3ab459ca3d9de3fc48f39d946bf5.tar.gz
add a regression testsuite.
Document that ccache requires cache directory to be writable by the user within chroot. re #342665
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/regression/342665-config5
-rw-r--r--testsuite/regression/342665-pbuilder-ccache.sh6
-rw-r--r--testsuite/regression/log/342665-pbuilder-ccache.sh.log632
-rw-r--r--testsuite/run-regression.log1
-rwxr-xr-xtestsuite/run-regression.sh31
5 files changed, 675 insertions, 0 deletions
diff --git a/testsuite/regression/342665-config b/testsuite/regression/342665-config
new file mode 100644
index 0000000..f85af32
--- /dev/null
+++ b/testsuite/regression/342665-config
@@ -0,0 +1,5 @@
+# configuration for ccache
+export CCACHE_DIR="/tmp/ccache"
+export PATH="/usr/lib/ccache:${PATH}"
+BINDMOUNTS="${CCACHE_DIR}"
+EXTRAPACKAGES="ccache"
diff --git a/testsuite/regression/342665-pbuilder-ccache.sh b/testsuite/regression/342665-pbuilder-ccache.sh
new file mode 100644
index 0000000..a13174b
--- /dev/null
+++ b/testsuite/regression/342665-pbuilder-ccache.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# test pbuilder operation with ccache.
+
+mkdir /tmp/ccache
+chmod 1777 /tmp/ccache
+sudo pbuilder build --logfile "$OUTPUT_LOGNAME" --configfile 342665-config work/dsh*.dsc
diff --git a/testsuite/regression/log/342665-pbuilder-ccache.sh.log b/testsuite/regression/log/342665-pbuilder-ccache.sh.log
new file mode 100644
index 0000000..1ab1b3e
--- /dev/null
+++ b/testsuite/regression/log/342665-pbuilder-ccache.sh.log
@@ -0,0 +1,632 @@
+I: using fakeroot in build.
+pbuilder-buildpackage/amd64 $Id$
+$Id$
+
+Current time: Mon Dec 12 09:28:12 JST 2005
+pbuilder-time-stamp: 1134347292
+Building the build Environment
+ -> extracting base tarball [/var/cache/pbuilder/base.tgz]
+ -> creating local configuration
+ -> copying local configuration
+ -> mounting /proc filesystem
+ln: creating symbolic link `/var/cache/pbuilder/build//25718/etc/mtab' to `../proc/mounts': File exists
+ -> mounting /dev/pts filesystem
+-> Mounting /tmp/ccache
+ -> policy-rc.d already exists
+ -> created buildresult dir :/var/cache/pbuilder/result/
+Obtaining the cached apt archive contents
+Installing the build-deps
+ -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.22 2005/12/04 05:16:40 dancer Exp $
+ -> Considering debhelper (>> 3.0.0)
+ -> Trying debhelper
+ -> Considering libdshconfig1-dev (>= 0.20.11-1)
+ -> Trying libdshconfig1-dev
+ -> Installing debhelper libdshconfig1-dev
+Reading package lists...
+Building dependency tree...
+The following extra packages will be installed:
+ debconf-utils file gettext html2text intltool-debian libdshconfig1 libmagic1
+ po-debconf
+Suggested packages:
+ dh-make cvs gettext-doc
+Recommended packages:
+ curl libmail-sendmail-perl libcompress-zlib-perl
+The following NEW packages will be installed:
+ debconf-utils debhelper file gettext html2text intltool-debian libdshconfig1
+ libdshconfig1-dev libmagic1 po-debconf
+0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
+Need to get 0B/2915kB of archives.
+After unpacking 9609kB of additional disk space will be used.
+WARNING: The following packages cannot be authenticated!
+ libmagic1 file debconf-utils html2text gettext intltool-debian po-debconf
+ debhelper libdshconfig1 libdshconfig1-dev
+Selecting previously deselected package libmagic1.
+(Reading database ... 11825 files and directories currently installed.)
+Unpacking libmagic1 (from .../libmagic1_4.15-2_amd64.deb) ...
+Selecting previously deselected package file.
+Unpacking file (from .../archives/file_4.15-2_amd64.deb) ...
+Selecting previously deselected package debconf-utils.
+Unpacking debconf-utils (from .../debconf-utils_1.4.62_all.deb) ...
+Selecting previously deselected package html2text.
+Unpacking html2text (from .../html2text_1.3.2a-3_amd64.deb) ...
+Selecting previously deselected package gettext.
+Unpacking gettext (from .../gettext_0.14.5-2_amd64.deb) ...
+Selecting previously deselected package intltool-debian.
+Unpacking intltool-debian (from .../intltool-debian_0.34.1+20050828_all.deb) ...
+Selecting previously deselected package po-debconf.
+Unpacking po-debconf (from .../po-debconf_0.9.1_all.deb) ...
+Selecting previously deselected package debhelper.
+Unpacking debhelper (from .../debhelper_5.0.10_all.deb) ...
+Selecting previously deselected package libdshconfig1.
+Unpacking libdshconfig1 (from .../libdshconfig1_0.20.11-1_amd64.deb) ...
+Selecting previously deselected package libdshconfig1-dev.
+Unpacking libdshconfig1-dev (from .../libdshconfig1-dev_0.20.11-1_amd64.deb) ...
+Setting up libmagic1 (4.15-2) ...
+
+Setting up file (4.15-2) ...
+Setting up debconf-utils (1.4.62) ...
+
+Setting up html2text (1.3.2a-3) ...
+
+Setting up gettext (0.14.5-2) ...
+
+Setting up intltool-debian (0.34.1+20050828) ...
+Setting up po-debconf (0.9.1) ...
+Setting up debhelper (5.0.10) ...
+Setting up libdshconfig1 (0.20.11-1) ...
+
+Setting up libdshconfig1-dev (0.20.11-1) ...
+ -> Finished parsing the build-deps
+Reading package lists...
+Building dependency tree...
+Suggested packages:
+ distcc
+The following NEW packages will be installed:
+ ccache fakeroot
+0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
+Need to get 0B/124kB of archives.
+After unpacking 475kB of additional disk space will be used.
+WARNING: The following packages cannot be authenticated!
+ ccache fakeroot
+Selecting previously deselected package ccache.
+(Reading database ... 12421 files and directories currently installed.)
+Unpacking ccache (from .../ccache_2.4-4_amd64.deb) ...
+Selecting previously deselected package fakeroot.
+Unpacking fakeroot (from .../fakeroot_1.5.5_amd64.deb) ...
+Setting up ccache (2.4-4) ...
+Setting up fakeroot (1.5.5) ...
+
+Copying back the cached apt archive contents
+/var/cache/pbuilder/build/25718/etc/passwd
+/var/cache/pbuilder/build/25718/etc/group
+Copying source file
+ -> copying [work/dsh_0.25.6-1.dsc]
+ -> copying [work/dsh_0.25.6.orig.tar.gz]
+ -> copying [work/dsh_0.25.6-1.diff.gz]
+Extracting source
+su: Authentication service cannot retrieve authentication info.
+(Ignored)
+dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-source: extracting dsh in dsh-0.25.6
+dpkg-source: unpacking dsh_0.25.6.orig.tar.gz
+dpkg-source: applying ./dsh_0.25.6-1.diff.gz
+ -> Building the package
+su: Authentication service cannot retrieve authentication info.
+(Ignored)
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-buildpackage: source package is dsh
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-buildpackage: source version is 0.25.6-1
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-buildpackage: source changed by Junichi Uekawa <dancer@debian.org>
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-buildpackage: host architecture amd64
+dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+ fakeroot debian/rules clean
+dh_testdir
+dh_testroot
+rm -f build-stamp configure-stamp
+/usr/bin/make clean
+make[1]: Entering directory `/tmp/buildd/dsh-0.25.6'
+make[1]: *** No rule to make target `clean'. Stop.
+make[1]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make: [clean] Error 2 (ignored)
+/usr/bin/make distclean
+make[1]: Entering directory `/tmp/buildd/dsh-0.25.6'
+make[1]: *** No rule to make target `distclean'. Stop.
+make[1]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make: [clean] Error 2 (ignored)
+dh_clean
+dh_clean: Compatibility levels before 4 are deprecated.
+ dpkg-source -b dsh-0.25.6
+dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-source: building dsh using existing dsh_0.25.6.orig.tar.gz
+dpkg-source: building dsh in dsh_0.25.6-1.diff.gz
+dpkg-source: warning: file dcp.sh has no final newline (either original or modified version)
+dpkg-source: warning: file debian/compat has no final newline (either original or modified version)
+dpkg-source: building dsh in dsh_0.25.6-1.dsc
+ debian/rules build
+dh_testdir
+INSTALL_PROGRAM='install -p -o root -g root -m 755 -s' CFLAGS='-Wall -g -O2' \
+ ./configure --prefix=/usr --sysconfdir=/etc/dsh --mandir=/usr/share/man
+checking for a BSD-compatible install... /usr/bin/install -c
+checking whether build environment is sane... yes
+checking for gawk... no
+checking for mawk... mawk
+checking whether make sets $(MAKE)... yes
+checking whether to enable maintainer-specific portions of Makefiles... no
+checking for style of include used by make... GNU
+checking for gcc... gcc
+checking for C compiler default output file name... a.out
+checking whether the C compiler works... yes
+checking whether we are cross compiling... no
+checking for suffix of executables...
+checking for suffix of object files... o
+checking whether we are using the GNU C compiler... yes
+checking whether gcc accepts -g... yes
+checking for gcc option to accept ANSI C... none needed
+checking dependency style of gcc... gcc3
+checking for library containing strerror... none required
+checking for gcc... (cached) gcc
+checking whether we are using the GNU C compiler... (cached) yes
+checking whether gcc accepts -g... (cached) yes
+checking for gcc option to accept ANSI C... (cached) none needed
+checking dependency style of gcc... (cached) gcc3
+checking for gcc... (cached) gcc
+checking whether we are using the GNU C compiler... (cached) yes
+checking whether gcc accepts -g... (cached) yes
+checking for gcc option to accept ANSI C... (cached) none needed
+checking dependency style of gcc... (cached) gcc3
+checking whether make sets $(MAKE)... (cached) yes
+checking how to run the C preprocessor... gcc -E
+checking for egrep... grep -E
+checking for ANSI C header files... yes
+checking for sys/wait.h that is POSIX.1 compatible... yes
+checking build system type... x86_64-unknown-linux-gnu
+checking host system type... x86_64-unknown-linux-gnu
+checking for a sed that does not truncate output... /bin/sed
+checking for ld used by gcc... /usr/bin/ld
+checking if the linker (/usr/bin/ld) is GNU ld... yes
+checking for /usr/bin/ld option to reload object files... -r
+checking for BSD-compatible nm... /usr/bin/nm -B
+checking whether ln -s works... yes
+checking how to recognise dependent libraries... pass_all
+checking for sys/types.h... yes
+checking for sys/stat.h... yes
+checking for stdlib.h... yes
+checking for string.h... yes
+checking for memory.h... yes
+checking for strings.h... yes
+checking for inttypes.h... yes
+checking for stdint.h... yes
+checking for unistd.h... yes
+checking dlfcn.h usability... yes
+checking dlfcn.h presence... yes
+checking for dlfcn.h... yes
+checking for g++... g++
+checking whether we are using the GNU C++ compiler... yes
+checking whether g++ accepts -g... yes
+checking dependency style of g++... gcc3
+checking how to run the C++ preprocessor... g++ -E
+checking for g77... no
+checking for f77... no
+checking for xlf... no
+checking for frt... no
+checking for pgf77... no
+checking for fort77... no
+checking for fl32... no
+checking for af77... no
+checking for f90... no
+checking for xlf90... no
+checking for pgf90... no
+checking for epcf90... no
+checking for f95... no
+checking for fort... no
+checking for xlf95... no
+checking for ifc... no
+checking for efc... no
+checking for pgf95... no
+checking for lf95... no
+checking for gfortran... no
+checking whether we are using the GNU Fortran 77 compiler... no
+checking whether accepts -g... no
+checking the maximum length of command line arguments... 32768
+checking command to parse /usr/bin/nm -B output from gcc object... ok
+checking for objdir... .libs
+checking for ar... ar
+checking for ranlib... ranlib
+checking for strip... strip
+checking if gcc static flag works... yes
+checking if gcc supports -fno-rtti -fno-exceptions... no
+checking for gcc option to produce PIC... -fPIC
+checking if gcc PIC flag -fPIC works... yes
+checking if gcc supports -c -o file.o... yes
+checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking whether -lc should be explicitly linked in... no
+checking dynamic linker characteristics... GNU/Linux ld.so
+checking how to hardcode library paths into programs... immediate
+checking whether stripping libraries is possible... yes
+checking if libtool supports shared libraries... yes
+checking whether to build shared libraries... yes
+checking whether to build static libraries... yes
+configure: creating libtool
+appending configuration tag "CXX" to libtool
+checking for ld used by g++... /usr/bin/ld -m elf_x86_64
+checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
+checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking for g++ option to produce PIC... -fPIC
+checking if g++ PIC flag -fPIC works... yes
+checking if g++ supports -c -o file.o... yes
+checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking dynamic linker characteristics... GNU/Linux ld.so
+checking how to hardcode library paths into programs... immediate
+checking whether stripping libraries is possible... yes
+appending configuration tag "F77" to libtool
+checking for an ANSI C-conforming const... yes
+checking for msgfmt... /usr/bin/msgfmt
+checking for gmsgfmt... /usr/bin/msgfmt
+checking for xgettext... /usr/bin/xgettext
+checking for msgmerge... /usr/bin/msgmerge
+checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
+checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
+checking for shared library run path origin... done
+checking whether NLS is requested... yes
+checking for GNU gettext in libc... yes
+checking for gettext... yes
+checking getopt.h usability... yes
+checking getopt.h presence... yes
+checking for getopt.h... yes
+checking fcntl.h usability... yes
+checking fcntl.h presence... yes
+checking for fcntl.h... yes
+checking libintl.h usability... yes
+checking libintl.h presence... yes
+checking for libintl.h... yes
+checking locale.h usability... yes
+checking locale.h presence... yes
+checking for locale.h... yes
+checking for stdlib.h... (cached) yes
+checking netdb.h usability... yes
+checking netdb.h presence... yes
+checking for netdb.h... yes
+checking for string.h... (cached) yes
+checking for unistd.h... (cached) yes
+checking netgroup.h usability... no
+checking netgroup.h presence... no
+checking for netgroup.h... no
+checking signal.h usability... yes
+checking signal.h presence... yes
+checking for signal.h... yes
+checking for libdshconfig.h ... yes
+checking for asprintf... yes
+checking for strdup... yes
+checking for getopt_long... yes
+checking for getline... yes
+checking for dup2... yes
+checking for setlocale... yes
+checking for strcasecmp... yes
+checking for strchr... yes
+checking for setnetgrent... yes
+checking for getnetgrent... yes
+checking for endnetgrent... yes
+checking for open_dshconfig in -ldshconfig... yes
+checking netdb.h has setnetgrent that returns void... no
+checking getopt with a GNU option reordering extention... yes, disabling
+configure: creating ./config.status
+config.status: creating po/Makefile.in
+config.status: creating m4/Makefile
+config.status: creating Makefile
+config.status: creating config.h
+config.status: executing depfiles commands
+config.status: executing default-1 commands
+config.status: creating po/POTFILES
+config.status: creating po/Makefile
+touch configure-stamp
+dh_testdir
+/usr/bin/make
+make[1]: Entering directory `/tmp/buildd/dsh-0.25.6'
+/usr/bin/make all-recursive
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6'
+Making all in m4
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6/m4'
+make[3]: Nothing to be done for `all'.
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6/m4'
+Making all in po
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6/po'
+make[3]: Nothing to be done for `all'.
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6/po'
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6'
+if gcc -DHAVE_CONFIG_H -I. -I. -I. -DDSHCONFDIR="\"/etc/dsh\"" -DDSH_COMMANDLINE="\"/usr/bin/dsh\"" -DLOCALEDIR="\"/usr/share/locale\"" -Wall -g -O2 -MT dsh-dsh.o -MD -MP -MF ".deps/dsh-dsh.Tpo" -c -o dsh-dsh.o `test -f 'dsh.c' || echo './'`dsh.c; \
+ then mv -f ".deps/dsh-dsh.Tpo" ".deps/dsh-dsh.Po"; else rm -f ".deps/dsh-dsh.Tpo"; exit 1; fi
+if gcc -DHAVE_CONFIG_H -I. -I. -I. -DDSHCONFDIR="\"/etc/dsh\"" -DDSH_COMMANDLINE="\"/usr/bin/dsh\"" -DLOCALEDIR="\"/usr/share/locale\"" -Wall -g -O2 -MT dsh-linkedlist.o -MD -MP -MF ".deps/dsh-linkedlist.Tpo" -c -o dsh-linkedlist.o `test -f 'linkedlist.c' || echo './'`linkedlist.c; \
+ then mv -f ".deps/dsh-linkedlist.Tpo" ".deps/dsh-linkedlist.Po"; else rm -f ".deps/dsh-linkedlist.Tpo"; exit 1; fi
+if gcc -DHAVE_CONFIG_H -I. -I. -I. -DDSHCONFDIR="\"/etc/dsh\"" -DDSH_COMMANDLINE="\"/usr/bin/dsh\"" -DLOCALEDIR="\"/usr/share/locale\"" -Wall -g -O2 -MT dsh-parameter.o -MD -MP -MF ".deps/dsh-parameter.Tpo" -c -o dsh-parameter.o `test -f 'parameter.c' || echo './'`parameter.c; \
+ then mv -f ".deps/dsh-parameter.Tpo" ".deps/dsh-parameter.Po"; else rm -f ".deps/dsh-parameter.Tpo"; exit 1; fi
+/bin/sh ./libtool --mode=link gcc -Wall -g -O2 -o dsh dsh-dsh.o dsh-linkedlist.o dsh-parameter.o -ldshconfig
+mkdir .libs
+gcc -Wall -g -O2 -o dsh dsh-dsh.o dsh-linkedlist.o dsh-parameter.o /usr/lib/libdshconfig.so
+mkdir build-man
+sed -e 's,[@]sysconfdir[@],/etc/dsh,' < ./dsh.1 > build-man/dsh.1
+sed -e 's,[@]sysconfdir[@],/etc/dsh,' < ./dsh.conf.5 > build-man/dsh.conf.5
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[1]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+/usr/bin/make check
+make[1]: Entering directory `/tmp/buildd/dsh-0.25.6'
+Making check in m4
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6/m4'
+make[2]: Nothing to be done for `check'.
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6/m4'
+Making check in po
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6/po'
+make[2]: Nothing to be done for `check'.
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6/po'
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6'
+/usr/bin/make dsh
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6'
+make[3]: `dsh' is up to date.
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+/usr/bin/make check-TESTS
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6'
+PASS: tests/param-f.sh
+dsh: File ./tests/nonexistent.file could not be opened for read
+PASS: tests/param-f-fail.sh
+PASS: tests/param-f-with-space.sh
+PASS: tests/param-m.sh
+test to check that unknown parameter checking is right.
+./dsh: unrecognized option `--unknown-parameter'
+./dsh: invalid option -- u
+PASS: tests/param-unknown.sh
+test1
+test2
+dsh: Process terminated (before write).
+PASS: tests/param-i.sh
+Check that cn4 option is working.
+PASS: tests/param-cn4.sh
+test to check that -b0 is rejected, and -b1 is accepted
+Buffer size needs to be greater than 1
+Buffer size needs to be greater than 1
+a
+b
+PASS: tests/param-b-0.sh
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+success
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+success
+success
+success
+success
+success
+a: dsh: Failed executing ./invalid-exec-file with llexec call
+b: dsh: Failed executing ./invalid-exec-file with llexec call
+c: dsh: Failed executing ./invalid-exec-file with llexec call
+d: dsh: Failed executing ./invalid-exec-file with llexec call
+success
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+dsh: Failed executing ./invalid-exec-file with llexec call
+success
+PASS: tests/param-r-invalid.sh
+1: 1
+2: 2
+dsh: fork limit and wait shell cannot be specified at the same time
+PASS: tests/param-F-invalid.sh
+Mon Dec 12 00:28:34 UTC 2005
+2: Using sleep as the remote shell
+2: Show machine names on output
+2: Adding machine 5,4,3,2,1 to list
+2: Setting forklimit to 3 and wait_shell to 0
+2: DUMPing parameters passed to llexec
+2: [2]
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+DUMPing parameters passed to llexec
+[2]
+3: Using sleep as the remote shell
+3: Show machine names on output
+3: Adding machine 5,4,3,2,1 to list
+3: Setting forklimit to 3 and wait_shell to 0
+3: DUMPing parameters passed to llexec
+3: [3]
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+DUMPing parameters passed to llexec
+[3]
+1: Using sleep as the remote shell
+1: Show machine names on output
+1: Adding machine 5,4,3,2,1 to list
+1: Setting forklimit to 3 and wait_shell to 0
+1: ... Waiting for process to end with waitpid
+1: DUMPing parameters passed to llexec
+1: [1]
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+... Waiting for process to end with waitpid
+DUMPing parameters passed to llexec
+[1]
+4: Using sleep as the remote shell
+4: Show machine names on output
+4: Adding machine 5,4,3,2,1 to list
+4: Setting forklimit to 3 and wait_shell to 0
+4: DUMPing parameters passed to llexec
+4: [4]
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+DUMPing parameters passed to llexec
+[4]
+5: Using sleep as the remote shell
+5: Show machine names on output
+5: Adding machine 5,4,3,2,1 to list
+5: Setting forklimit to 3 and wait_shell to 0
+5: DUMPing parameters passed to llexec
+5: [5]
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+DUMPing parameters passed to llexec
+[5]
+--- Terminated running
+Using sleep as the remote shell
+Show machine names on output
+Adding machine 5,4,3,2,1 to list
+Setting forklimit to 3 and wait_shell to 0
+... Waiting for process to end with waitpid
+... Waiting for process to end with waitpid
+Mon Dec 12 00:28:39 UTC 2005
+PASS: tests/param-F-forklimit.sh
+PASS: tests/param-gnu-getopt.sh
+PASS: tests/news-okay.sh
+a: a
+b: b
+dsh: Process terminated (before write).
+c: c
+PASS: tests/segv-catcher.sh
+l w
+PASS: tests/test-bufferoverflow.sh
+PASS: tests/machinelist-comment-test.sh
+PASS: tests/machinelist-order.sh
+===================
+All 17 tests passed
+===================
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[1]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+touch build-stamp
+ fakeroot debian/rules binary
+dh_testdir
+dh_testroot
+dh_clean -k
+dh_clean: Compatibility levels before 4 are deprecated.
+dh_installdirs
+dh_installdirs: Compatibility levels before 4 are deprecated.
+# Add here commands to install the package into debian/dsh.
+/usr/bin/make install DESTDIR=/tmp/buildd/dsh-0.25.6/debian/dsh
+make[1]: Entering directory `/tmp/buildd/dsh-0.25.6'
+Making install in m4
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6/m4'
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6/m4'
+make[3]: Nothing to be done for `install-exec-am'.
+make[3]: Nothing to be done for `install-data-am'.
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6/m4'
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6/m4'
+Making install in po
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6/po'
+/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share
+mkdir -p -- /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share
+mkdir -p -- /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/locale/ja/LC_MESSAGES
+installing ja.gmo as /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/locale/ja/LC_MESSAGES/dsh.mo
+if test "dsh" = "gettext"; then \
+ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/gettext/po; \
+ for file in Makefile.in.in Makevars remove-potcdate.sin ; do \
+ /usr/bin/install -c -m 644 ./$file \
+ /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/gettext/po/$file; \
+ done; \
+ else \
+ : ; \
+ fi
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6/po'
+make[2]: Entering directory `/tmp/buildd/dsh-0.25.6'
+make[3]: Entering directory `/tmp/buildd/dsh-0.25.6'
+test -z "/usr/bin" || mkdir -p -- . "/tmp/buildd/dsh-0.25.6/debian/dsh/usr/bin"
+ /bin/sh ./libtool --mode=install install -p -o root -g root -m 755 -s 'dsh' '/tmp/buildd/dsh-0.25.6/debian/dsh/usr/bin/dsh'
+install -p -o root -g root -m 755 -s dsh /tmp/buildd/dsh-0.25.6/debian/dsh/usr/bin/dsh
+test -z "/etc/dsh" || mkdir -p -- . "/tmp/buildd/dsh-0.25.6/debian/dsh/etc/dsh"
+ /usr/bin/install -c -m 644 'dsh.conf' '/tmp/buildd/dsh-0.25.6/debian/dsh/etc/dsh/dsh.conf'
+for LANGS in ja ; do \
+ mkdir -p /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/$LANGS/man1 ;\
+ mkdir -p /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/$LANGS/man5 ;\
+ sed -e 's,[@]sysconfdir[@],/etc/dsh,' < ./dsh.$LANGS.1 \
+ > /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/$LANGS/man1/dsh.1 ; \
+ sed -e 's,[@]sysconfdir[@],/etc/dsh,' < ./dsh.conf.$LANGS.5 \
+ > /tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/$LANGS/man5/dsh.conf.5 ; \
+ done
+test -z "/usr/share/man/man1" || mkdir -p -- . "/tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/man1"
+ /usr/bin/install -c -m 644 './build-man/dsh.1' '/tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/man1/dsh.1'
+test -z "/usr/share/man/man5" || mkdir -p -- . "/tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/man5"
+ /usr/bin/install -c -m 644 './build-man/dsh.conf.5' '/tmp/buildd/dsh-0.25.6/debian/dsh/usr/share/man/man5/dsh.conf.5'
+make[3]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[2]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+make[1]: Leaving directory `/tmp/buildd/dsh-0.25.6'
+cp /tmp/buildd/dsh-0.25.6/debian/machines.list /tmp/buildd/dsh-0.25.6/debian/dsh/etc/dsh/machines.list
+cp /tmp/buildd/dsh-0.25.6/dsh.conf /tmp/buildd/dsh-0.25.6/debian/dsh/etc/dsh/dsh.conf
+ln -s ../machines.list /tmp/buildd/dsh-0.25.6/debian/dsh/etc/dsh/group/all
+install -d /tmp/buildd/dsh-0.25.6/debian/dsh/usr/lib/update-cluster
+install -m 755 /tmp/buildd/dsh-0.25.6/debian/dsh.updatelist /tmp/buildd/dsh-0.25.6/debian/dsh/usr/lib/update-cluster/
+dh_testdir
+dh_testroot
+dh_installdocs NEWS
+dh_installdocs: Compatibility levels before 4 are deprecated.
+dh_installexamples
+dh_installexamples: Compatibility levels before 4 are deprecated.
+dh_installmenu
+dh_installmenu: Compatibility levels before 4 are deprecated.
+dh_installman
+dh_installman: Compatibility levels before 4 are deprecated.
+dh_installchangelogs ChangeLog
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dh_installchangelogs: Compatibility levels before 4 are deprecated.
+dh_link
+dh_link: Compatibility levels before 4 are deprecated.
+dh_strip
+dh_strip: Compatibility levels before 4 are deprecated.
+dh_shlibdeps
+dh_shlibdeps: Compatibility levels before 4 are deprecated.
+dpkg-shlibdeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dh_compress
+dh_compress: Compatibility levels before 4 are deprecated.
+dh_fixperms
+dh_fixperms: Compatibility levels before 4 are deprecated.
+dh_installdeb
+dh_installdeb: Compatibility levels before 4 are deprecated.
+dh_gencontrol
+dh_gencontrol: Compatibility levels before 4 are deprecated.
+dpkg-gencontrol: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
+dh_md5sums
+dh_md5sums: Compatibility levels before 4 are deprecated.
+dh_builddeb
+dh_builddeb: Compatibility levels before 4 are deprecated.
+dpkg-deb: building package `dsh' in `../dsh_0.25.6-1_amd64.deb'.
+ dpkg-genchanges
+dpkg-genchanges: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
+dpkg-genchanges: including full source code in upload
+dpkg-buildpackage: full upload (original source is included)
+Copying back the cached apt archive contents
+ -> unmounting dev/pts filesystem
+ -> unmounting proc filesystem
+ -> unmounting /tmp/ccache filesystem
+Current time: Mon Dec 12 09:28:40 JST 2005
+pbuilder-time-stamp: 1134347320
+ -> cleaning the build env
+ -> removing directory /var/cache/pbuilder/build//25718 and its subdirectories
diff --git a/testsuite/run-regression.log b/testsuite/run-regression.log
new file mode 100644
index 0000000..80b13be
--- /dev/null
+++ b/testsuite/run-regression.log
@@ -0,0 +1 @@
+[OK] 342665-pbuilder-ccache.sh
diff --git a/testsuite/run-regression.sh b/testsuite/run-regression.sh
new file mode 100755
index 0000000..05caac5
--- /dev/null
+++ b/testsuite/run-regression.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+log_success () {
+ CODE=$?
+ if [ $CODE = 0 ]; then
+ echo "[OK] $1" >> ${RESULTFILE}
+ else
+ echo "[FAIL] $1" >> ${RESULTFILE}
+ fi
+}
+
+RESULTFILE="run-regression.log"
+: > ${RESULTFILE}
+RESULTFILE=$(readlink -f ${RESULTFILE})
+
+# prepare files.
+(
+ mkdir regression/work && \
+ cd regression/work && \
+ apt-get source dsh
+)
+
+(
+ cd regression && \
+ for A in *.sh; do
+ OUTPUT_LOGNAME=log/$A.log bash $A
+ log_success $A
+ done
+)
+
+rm -r regression/work/