bug-coreutils
[Top][All Lists]
Advanced

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

Failures=1, SKIPs=a few, other=confusion


From: Dave Santo
Subject: Failures=1, SKIPs=a few, other=confusion
Date: Fri, 24 Nov 2006 19:18:09 -0700
User-agent: Microsoft-Entourage/11.2.5.060620

Bug Report for CoreUtils 6.5 submitted to address@hidden by Dave
Santo
Mac OS X, 10.4.8, 1.3ghz, 1.5mb ram, 400gig hds

I hope this helps you to help others (especially me).

All tests passed or skipped are listed at the bottom. Two(2) of them are
kinda special.
One skipped with NO DIRECTIONS to set any env var. It passed, I found, after
setting
an env var for other tests. The 2nd test needed an outside program. After I
installed
that other program, the test also passed. ONE FAILURE EXISTS! Other
anomalies at bottom also.

FAIL: one-file-system (tests/rm) !!!!!!!!!!!!!!!!!!!!!!!!!

Invocation...

env DEBUG=yes VERBOSE=yes RUN_EXPENSIVE_TESTS=yes
RUN_VERY_EXPENSIVE_TESTS=yes make check -C tests/rm TESTS=one-file-system >>
/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm/one-file-system_log 2>&1

Contents of log file...

make: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm'
make  check-TESTS
make[1]: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm'
+ rm --version
rm (GNU coreutils) 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
+ PRIV_CHECK_ARG=require-root
+ . ./../priv-check
++ case "$PRIV_CHECK_ARG" in
++ who='as root'
+++ id -u
++ my_uid=0
++ test 0 = 0
++ case $my_uid in
++ test 0 = 0
++ : nobody
+++ id -u nobody
++ coreutils_non_root_uid=4294967294
++ test 0 = 0
++ test 4294967294 = 0
++ give_msg=no
++ case $PRIV_CHECK_ARG:$my_uid in
++ test no = yes
+ . ./../lang-default
++ LC_ALL=C
++ export LC_ALL
++ unset LANGUAGE NLSPATH
++ unset LANG LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
+ . ./../other-fs-tmpdir
++ test '' = set
++ CANDIDATE_TMP_DIRS=' /tmp /var/tmp /usr/tmp /var/root'
++ other_partition_tmpdir=
+++ stat -c %d .
++ dot_mount_point=234881034
++ for d in '$CANDIDATE_TMP_DIRS'
++ test -d /tmp
+++ stat -L -c %d /tmp
++ d_mount_point=234881043
++ test x234881043 = x234881034
++ mkdir /tmp/tmp25579
++ other_partition_tmpdir=/tmp/tmp25579
++ break
++ test -z /tmp/tmp25579
++ test yes = yes
++ set -x
+ test -z /tmp/tmp25579
++ pwd
+ pwd=/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm
++ echo ./one-file-system
++ sed 's,.*/,,'
+ t0=one-file-system.tmp
+ tmp=one-file-system.tmp/25579
+ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status'
0
+ trap '(exit $?); exit $?' 1 2 13 15
+ t0='one-file-system.tmp /tmp/tmp25579'
+ framework_failure=0
+ mkdir -p one-file-system.tmp/25579
+ cd one-file-system.tmp/25579
+ t=/tmp/tmp25579
+ mkdir -p a/b /tmp/tmp25579/y

Where the testing fails. The mount command doesn't understand "mount -" (the
FIRST BAR of "--bind"). Nor does it understand "-bind" or "bind."
My research into this, as a non-programmer, yielded squat!

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

+ mount --bind /tmp/tmp25579 a/b
mount: illegal option -- -
usage: mount [-dfruvw] [-o options] [-t ufs | external_type] special node
       mount [-adfruvw] [-t ufs | external_type]
       mount [-dfruvw] special | node
+ framework_failure=1

]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

+ cat
+ test 1 = 1
+ echo './one-file-system: failure in testing framework'
./one-file-system: failure in testing framework
+ exit 1
+ exit 1
+ status=1
+ cd /Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm
+ chmod -R u+rwx one-file-system.tmp /tmp/tmp25579
+ rm -rf one-file-system.tmp /tmp/tmp25579
+ exit 1
FAIL: one-file-system
======================================
1 of 1 tests failed
Please report to address@hidden
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm'
make: *** [check-am] Error 2
make: Leaving directory `/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/rm'

--EOLog

PASSed & SKIPped (alphabetically, by name)

2g......................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
8gb.....................SKIP: file system doesn't support sparse files
acl.....................SKIP: requires getfacl and setfacl
append-only.............SKIP: chattr +a doesn't work on this file system
atomic..................SKIP: no strace program
basic...................PASSED; when run as root
big-4gb.................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
cat-proc................SKIP: no /proc/cpuinfo
fail-2eperm.............PASSED; when run as root
fd-leak.................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
hash....................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
leak-fd.................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
long-from-unreadable....SKIP: It would fail, since your system lacks /proc
support.
no-give-up..............PASSED; when run as root
perm....................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
sparse..................SKIP: file system doesn't support sparse files
special-bits............PASSED; when run as root
tac-continue............SKIP: FULL_PARTITION_TMPDIR not defined. Mentioned
where???
tail-n0f................SKIP: /proc/18061/status: missing or 'different'

SKIPped... then PASSed!

inaccessible............. SKIP: no openat support
                                PASSED!; when run
u/RUN_VERY_EXPENSIVE_TESTS=yes
                                No note about this on or around the "SKIP"
line:
>                                 PASS: dot-rel
>                                 ./inaccessible: no openat support, so skipping
> this test
>                                 SKIP: inaccessible
>                                 PASS: unread3

tty-eof.................SKIP: requires Perl's Expect package >=1.11
                            PASSED: After installing Perl Expect 1.20

PASSed only (and circumstance) u/="using"

2g......................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
basic...................PASSED; when run as root
big-4gb.................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
fail-2eperm.............PASSED; when run as root
fd-leak.................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
hash....................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
leak-fd.................PASSED; when run u/RUN_EXPENSIVE_TESTS=yes
no-give-up..............PASSED; when run as root
perm....................PASSED; when run u/RUN_VERY_EXPENSIVE_TESTS=yes
special-bits............PASSED; when run as root

SKIPped only (and reason given)

8gb.....................SKIP: file system doesn't support sparse files
acl.....................SKIP: requires getfacl and setfacl
append-only.............SKIP: chattr +a doesn't work on this file system
atomic..................SKIP: no strace program
cat-proc................SKIP: no /proc/cpuinfo
long-from-unreadable....SKIP: It would fail, since your system lacks /proc
support.
sparse..................SKIP: file system doesn't support sparse files
tac-continue............SKIP: FULL_PARTITION_TMPDIR not defined. Mentioned
where???
tail-n0f................SKIP: /proc/18061/status: missing or 'different'

During "configure"

checking for library containing crypt... none required
***checking whether NLS is requested... yes !!!!!!!!!!!!!!!!!
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no ??????????????????? other builds have
found it! (1)
checking for iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no ????????????????? other builds
have found it! (1)
***checking whether to use NLS... no ?????????????????
configure: updating cache cash

(1) bash-3.2$ ./configure --cache-file=cash
--with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/local

> > su-3.2# gettext --version
> > gettext (GNU gettext-runtime) 0.16
> > Copyright (C) 1995-1997, 2000-2006 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > Written by Ulrich Drepper.
> > su-3.2# 

How did the variables you used come up with the pathname? How did it fail
and then pass? What were you actually looking for? /usr/bin/perl? That's the
only one I have. v5.8.6. And, what's with the "\\" in the path and then only
"\" later on? There's nothing to escape, or is there?

make[3]: Leaving directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/ln'
make[2]: Leaving directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/ln'
Making check in ls
make[2]: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/ls'
make  check-TESTS
make[3]: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/ls'
PASS: color-dtype-dir
PASS: stat-failed
PASS: stat-dtype
PASS: inode
PASS: dangle
PASS: file-type
PASS: recursive
PASS: dired
PASS: infloop
PASS: rt-1
PASS: time-1
PASS: symlink-slash
PASS: follow-slink
PASS: no-arg
PASS: m-option
stat: cannot stat `/Volumes/D2_FILEZ/DLs_DLd_f/gnu\\perl': No such file or
directory
./stat-vs-dirent: test failed: /Volumes/D2_FILEZ/DLs_DLd_f/gnu\perl:
d_ino(2928903) != st_ino()
        This may indicate a flaw in your kernel or file system
implementation.
        The flaw isn't serious for coreutils, but it might break other
tools,
        so you should report it to your operating system vendor.
PASS: stat-vs-dirent ?????????????????????????????
/Volumes/D2_FILEZ/DLs_DLd_f/gnu\perl?????
===================
All 16 tests passed
===================

And, seemingly the last test???

make[3]: Leaving directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/wc'
make[2]: Leaving directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests/wc'
make[2]: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests'
make  check-TESTS
make[3]: Entering directory
`/Volumes/D2_FILEZ/DLs_DLd_f/coreutils-6.5/tests'
0+1 records in
0+1 records out
1 byte (1 B) copied, 0.002542 s, 0.4 kB/s
./help-version: line 191: 21634 Terminated              sleep 10m
??????????????
PASS: help-version 
??????????????
==================
All 1 tests passed
==================

ONE FINAL THING. Mostly in the Terminal, if I type ³/usr/bin/su² and type in
my password, it¹s accepted. HOWEVER, since installing GNU CoreUtils, using
its included new ³su² command, I can not switch to the root user! Every time
I try it, I get ³incorrect password.² This seems really odd. Shouldn¹t the
old su perform the same as the gnu su?

The old su:
Copyright (c) 1988, 1993, 1994
The Regents of the University of California.  All rights reserved. $FreeBSD:
src/usr.bin/su/su.c,v 1.48 2002/01/24 16:20:17
****************************************************************************
********************
w2r


reply via email to

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