bug-coreutils
[Top][All Lists]
Advanced

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

test failure in make check-root


From: Sven Joachim
Subject: test failure in make check-root
Date: Thu, 26 Mar 2009 16:20:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

A test in make check-root fails for me.  Since I usually don't make
check-root, it might have been around for a while.  Full log follows:


$ sudo make -k check-root
cd tests && make check-root SUBDIRS=
make[1]: Entering directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make check TESTS='chown/basic cp/cp-a-selinux cp/preserve-gid cp/special-bits 
dd/skip-seek-past-dev install/install-C-root ls/capability ls/nameless-uid 
misc/chcon misc/selinux misc/truncate-owned-by-other 
mkdir/writable-under-readonly mv/sticky-to-xpart rm/fail-2eperm rm/no-give-up 
rm/one-file-system tail-2/append-only touch/now-owned-by-other'
make[2]: Entering directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make  check-TESTS
make[3]: Entering directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make[4]: Entering directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
PASS: chown/basic.log
./cp/cp-a-selinux: skipping test: this system (or maybe just the current file 
system) lacks SELinux support
SKIP: cp/cp-a-selinux.log
PASS: cp/preserve-gid.log
PASS: cp/special-bits.log
PASS: dd/skip-seek-past-dev.log
FAIL: install/install-C-root.log
PASS: ls/capability.log
PASS: ls/nameless-uid.log
./misc/chcon: skipping test: this system (or maybe just the current file 
system) lacks SELinux support
SKIP: misc/chcon.log
./misc/selinux: skipping test: this system (or maybe just the current file 
system) lacks SELinux support
SKIP: misc/selinux.log
PASS: misc/truncate-owned-by-other.log
./mkdir/writable-under-readonly: skipping test: temporarily disabled
SKIP: mkdir/writable-under-readonly.log
PASS: mv/sticky-to-xpart.log
PASS: rm/fail-2eperm.log
PASS: rm/no-give-up.log
PASS: rm/one-file-system.log
PASS: tail-2/append-only.log
PASS: touch/now-owned-by-other.log

===========================================
 1 of 18 tests failed
 (4 tests were not run)
 See tests/test-suite.log
 Please report it to address@hidden
===========================================

======================================================
   GNU coreutils 7.1.81-9b653: tests/test-suite.log   
======================================================

1 of 18 tests failed.  (4 tests were not run).  

.. contents:: :depth: 2


FAIL: install/install-C-root.log (exit: 1)
==========================================

+ ginstall --version
install (GNU coreutils) 7.1.81-9b653
Copyright (C) 2009 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.
+ . ./test-lib.sh
++ unset function_test
++ eval 'function_test() { return 11; }; function_test'
+++ function_test
+++ return 11
++ test 11 '!=' 11
+++ pwd
++ test_dir_=/usr/local/src/coreutils-7.1.81-9b653/tests
+++ this_test_
+++ echo ././install/install-C-root
+++ sed 's,.*/,,'
++ this_test=install-C-root
+++ /usr/local/src/coreutils-7.1.81-9b653/src/mktemp -d 
--tmp=/usr/local/src/coreutils-7.1.81-9b653/tests cu-install-C-root.XXXXXXXXXX
++ t_=/usr/local/src/coreutils-7.1.81-9b653/tests/cu-install-C-root.9bo808JcZQ
++ trap remove_tmp_ 0
++ trap 'Exit $?' 1 2 13 15
++ cd /usr/local/src/coreutils-7.1.81-9b653/tests/cu-install-C-root.9bo808JcZQ
++ diff --version
++ grep GNU
+ require_root_
+ uid_is_privileged_
++ id -u
+ my_uid=0
+ case $my_uid in
+ NON_ROOT_USERNAME=nobody
+ u1=1
+ u2=2
+ g1=1
+ g2=2
+ fail=0
+ echo test
+ echo '`a'\'' -> `b'\'''
+ echo 'removed `b'\''
`a'\'' -> `b'\'''
+ ginstall -Cv -o1 -g1 a b
+ compare out out_installed_first
+ diff -u out out_installed_first
+ ginstall -Cv -o1 -g1 a b
+ compare out out_empty
+ diff -u out out_empty
+ ginstall -v -o1 -g1 a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -o2 -g1 a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -o2 -g1 a b
+ compare out out_empty
+ diff -u out out_empty
+ ginstall -Cv -o2 -g2 a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv -o2 -g2 a b
+ compare out out_empty
+ diff -u out out_empty
+ ginstall -Cv -o2 a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv a b
+ compare out out_empty
+ diff -u out out_empty
--- out 2009-03-26 16:06:11.390303320 +0100
+++ out_empty   2009-03-26 16:06:11.376969850 +0100
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ ginstall -Cv -g2 a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv a b
+ compare out out_installed_second
+ diff -u out out_installed_second
+ ginstall -Cv a b
+ compare out out_empty
+ diff -u out out_empty
--- out 2009-03-26 16:06:11.393636651 +0100
+++ out_empty   2009-03-26 16:06:11.376969850 +0100
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/src/coreutils-7.1.81-9b653/tests
+ chmod -R u+rwx 
/usr/local/src/coreutils-7.1.81-9b653/tests/cu-install-C-root.9bo808JcZQ
+ rm -rf 
/usr/local/src/coreutils-7.1.81-9b653/tests/cu-install-C-root.9bo808JcZQ
+ exit 1
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make[2]: *** [check-am] Error 2
make[2]: Target `check' not remade because of errors.
make[2]: Leaving directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make[1]: *** [check-root] Error 2
make[1]: Leaving directory `/usr/local/src/coreutils-7.1.81-9b653/tests'
make: *** [check-root] Fehler 2




reply via email to

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