bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14024: Test failure in coreutils 8.13


From: Ellis N. Thomas
Subject: bug#14024: Test failure in coreutils 8.13
Date: Wed, 10 Apr 2013 22:11:43 +0100

Pádraig,

        The "make check TESTS..." failed the same on two runs.
(The first performed many compilations, but ended the same.)

        After this had been run, src/ginstall was present (previously
when I failed to find it last time, it must have been removed by
"make clean").

        Versions you requested:
(Could not find how to get version from /usr/bin/install !  Its man
page refers to "BSD  May 7, 2001", and mentions FreeBSD 4.4.)

install --version
install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

/usr/local/bin/install --version
install (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.

src/ginstall --version
install (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.

        The full stdout&stderr from "make check TESTS..." was redirected to
testinst.log. which is the same as /tests/test-suite.log, except for extra lines at the start and end. This file is included at the end, after *** lines.

        Thanks,
                Ellis

On 27 Mar 2013, at 21:30, Pádraig Brady wrote:

Does that test failure happen every time?
I.E. does this fail every time?

 make check TESTS=tests/install/install-C.sh VERBOSE=yes SUBDIRS=.

Can you confirm the versions of install available:

install --version
/usr/local/bin/install --version
src/ginstall --version

If src/ginstall is different to the other two,
then it would be worth repeating the following with it:

*******************************************************************************
** make check TESTS=tests/install/install-C.sh VERBOSE=yes SUBDIRS=. &>testinst.log
*******************************************************************************
  GEN    public-submodule-commit
make  check-recursive
Making check in .
make  check-TESTS check-local
FAIL: tests/install/install-C.sh
================================================
   GNU coreutils 8.21: ./tests/test-suite.log
================================================

1 of 1 test failed.

.. contents:: :depth: 2


FAIL: tests/install/install-C.sh (exit: 1)
==========================================

++ initial_cwd_=/Gnu/coreutils/coreutils-8.21
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /Gnu/coreutils/coreutils-8.21 gt-install-C.sh.XXXX
+++ case $# in
+++ destdir_=/Gnu/coreutils/coreutils-8.21
+++ template_=gt-install-C.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
+++ case $d in
+++ test -d /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
++++ ls -dgo /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
++++ tr S -
+++ perms='drwx------ 2 68 Apr 10 21:27 /Gnu/coreutils/coreutils-8.21/ gt-install-C.sh.DBq8'
+++ case $perms in
+++ test 0 = 0
+++ echo /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
+++ return
++ test_dir_=/Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
++ cd /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/Gnu/coreutils/coreutils-8.21/./src
+ case $abs_path_dir_ in
+ PATH=/Gnu/coreutils/coreutils-8.21/./src:/Gnu/coreutils/ coreutils-8.21/src:.:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/ X11/bin:/usr/X11/bin
+ create_exe_shims_ /Gnu/coreutils/coreutils-8.21/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ ginstall
+ test yes = yes
+ local i
+ for i in '$*'
+ env ginstall --version
install (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
+ skip_if_setgid_
+ setgid_tmpdir=setgid-7780
+ umask 77
+ mkdir setgid-7780
++ stat --printf %A setgid-7780
+ perms=drwx------
+ rmdir setgid-7780
+ case $perms in
+ mode1=0644
+ mode2=0755
+ mode3=2755
+ echo test
+ echo ''\''a'\'' -> '\''b'\'''
+ echo 'removed '\''b'\''
'\''a'\'' -> '\''b'\'''
+ :
+ ginstall -Cv -m0644 a b
+ compare out out_installed_first
+ compare_dev_null_ out out_installed_first
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_first = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_first
+ diff -u out out_installed_first
+ ginstall -Cv -m0644 a b
+ compare out out_empty
+ compare_dev_null_ out out_empty
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_empty = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_empty
+ diff -u out out_empty
--- out 2013-04-10 21:27:53.000000000 +0100
+++ out_empty   2013-04-10 21:27:53.000000000 +0100
@@ -1,2 +0,0 @@
-removed 'b'
-'a' -> 'b'
+ fail=1
+ ginstall -v --compare -m0644 a b
+ compare out out_empty
+ compare_dev_null_ out out_empty
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_empty = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_empty
+ diff -u out out_empty
--- out 2013-04-10 21:27:53.000000000 +0100
+++ out_empty   2013-04-10 21:27:53.000000000 +0100
@@ -1,2 +0,0 @@
-removed 'b'
-'a' -> 'b'
+ fail=1
+ ginstall -v -m0644 a b
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -m2755 a b
ginstall: the --compare (-C) option is ignored when you specify a mode with non-permission bits
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -m2755 a b
ginstall: the --compare (-C) option is ignored when you specify a mode with non-permission bits
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ln -s a c
+ ln -s b d
+ ginstall -Cv -m0644 c d
+ echo 'removed '\''d'\''
'\''c'\'' -> '\''d'\'''
+ compare out out_installed_second_cd
+ compare_dev_null_ out out_installed_second_cd
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second_cd = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second_cd
+ diff -u out out_installed_second_cd
+ echo test1
+ ginstall -Cv -m0644 a b
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -m0644 a b
+ compare out out_empty
+ compare_dev_null_ out out_empty
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_empty = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_empty
+ diff -u out out_empty
--- out 2013-04-10 21:27:53.000000000 +0100
+++ out_empty   2013-04-10 21:27:53.000000000 +0100
@@ -1,2 +0,0 @@
-removed 'b'
-'a' -> 'b'
+ fail=1
+ echo test2
+ ginstall -Cv -m0644 a b
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -m0644 a b
+ compare out out_empty
+ compare_dev_null_ out out_empty
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_empty = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_empty
+ diff -u out out_empty
--- out 2013-04-10 21:27:53.000000000 +0100
+++ out_empty   2013-04-10 21:27:53.000000000 +0100
@@ -1,2 +0,0 @@
-removed 'b'
-'a' -> 'b'
+ fail=1
+ ginstall -Cv -m0755 a b
+ compare out out_installed_second
+ compare_dev_null_ out out_installed_second
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_installed_second = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -m0755 a b
+ compare out out_empty
+ compare_dev_null_ out out_empty
+ test 2 = 2
+ test xout = x/dev/null
+ test xout_empty = x/dev/null
+ return 2
+ case $? in
+ compare_ out out_empty
+ diff -u out out_empty
--- out 2013-04-10 21:27:53.000000000 +0100
+++ out_empty   2013-04-10 21:27:53.000000000 +0100
@@ -1,2 +0,0 @@
-removed 'b'
-'a' -> 'b'
+ fail=1
+ ginstall -C --preserve-timestamps a b
ginstall: options --compare (-C) and --preserve-timestamps are mutually exclusive
Try 'ginstall --help' for more information.
+ ginstall -C --strip --strip-program=echo a b
ginstall: options --compare (-C) and --strip are mutually exclusive
Try 'ginstall --help' for more information.
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /Gnu/coreutils/coreutils-8.21
+ chmod -R u+rwx /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
+ rm -rf /Gnu/coreutils/coreutils-8.21/gt-install-C.sh.DBq8
+ exit 1
======================================
1 of 1 test failed
See ./tests/test-suite.log
Please report to address@hidden
======================================
make[4]: *** [tests/test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2







reply via email to

[Prev in Thread] Current Thread [Next in Thread]