bug-coreutils
[Top][All Lists]
Advanced

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

chgrp


From: Bartlomiej P. Lyson
Subject: chgrp
Date: Sun, 25 Feb 2007 06:29:08 +0000 (GMT)

address@hidden:/sources-lfs/coreutils-5.96# src/su dummy
-c "make RUN_EXPENSIVE_TESTS=yes check"
Making check in lib
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/lib'
./t-fpending > /dev/null
make  check-am
make[2]: Entering directory
`/sources-lfs/coreutils-5.96/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory
`/sources-lfs/coreutils-5.96/lib'
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/lib'
Making check in src
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/src'
rm -rf progs-readme progs-makefile
echo [ chgrp chown chmod cp dd dircolors du ginstall
link ln dir vdir ls mkdir mkfifo mknod mv nohup
readlink rm rmdir shred stat sync touch unlink cat
cksum comm csplit cut expand fmt fold head join md5sum
nl od paste pr ptx sha1sum sort split sum tac tail tr
tsort unexpand uniq wc basename date dirname echo env
expr factor false hostname id logname pathchk printenv
printf pwd seq sleep tee test true tty whoami yes
uname chroot hostid nice pinky users who stty df
groups chroot df hostid nice pinky stty su uname users
who \
 | tr -s ' ' '\n' | sed -e 's,$,,' \
 | LC_ALL=C sort -u > progs-makefile && \
sed -n '/^The programs .* are:/,/^[a-zA-Z]/p'
../README \
  | sed -n '/^   */s///p' | tr -s ' ' '\n' >
progs-readme
diff progs-makefile progs-readme && rm -rf
progs-readme progs-makefile
cd .; grep '^# *define  *S_IS' lbracket.c basename.c
cat.c chgrp.c chown-core.c chmod.c chown.c
chown-core.c chroot.c cksum.c comm.c cp.c copy.c
cp-hash.c csplit.c cut.c date.c dd.c df.c ls.c
ls-dir.c dircolors.c dirname.c du.c echo.c env.c
expand.c expr.c factor.c false.c fmt.c fold.c
install.c copy.c cp-hash.c head.c hostid.c hostname.c
id.c join.c link.c ln.c logname.c ls.c ls-ls.c
md5sum.c md5.c mkdir.c mkfifo.c mknod.c mv.c copy.c
cp-hash.c remove.c nice.c nl.c nohup.c od.c paste.c
pathchk.c pinky.c pr.c printenv.c printf.c ptx.c pwd.c
readlink.c rm.c remove.c rmdir.c seq.c setuidgid.c
md5sum.c sha1sum.c shred.c sleep.c sort.c split.c
stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c
test.c touch.c tr.c true.c tsort.c tty.c uname.c
unexpand.c uniq.c unlink.c users.c ls.c ls-vdir.c wc.c
who.c whoami.c yes.c && exit 1 || :
cd .; grep st_blocks lbracket.c basename.c cat.c
chgrp.c chown-core.c chmod.c chown.c chown-core.c
chroot.c cksum.c comm.c cp.c copy.c cp-hash.c csplit.c
cut.c date.c dd.c df.c ls.c ls-dir.c dircolors.c
dirname.c du.c echo.c env.c expand.c expr.c factor.c
false.c fmt.c fold.c install.c copy.c cp-hash.c head.c
hostid.c hostname.c id.c join.c link.c ln.c logname.c
ls.c ls-ls.c md5sum.c md5.c mkdir.c mkfifo.c mknod.c
mv.c copy.c cp-hash.c remove.c nice.c nl.c nohup.c
od.c paste.c pathchk.c pinky.c pr.c printenv.c
printf.c ptx.c pwd.c readlink.c rm.c remove.c rmdir.c
seq.c setuidgid.c md5sum.c sha1sum.c shred.c sleep.c
sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c
tail.c tee.c test.c touch.c tr.c true.c tsort.c tty.c
uname.c unexpand.c uniq.c unlink.c users.c ls.c
ls-vdir.c wc.c who.c whoami.c yes.c && exit 1 || :
cd .; grep '^# *define .*defined' lbracket.c
basename.c cat.c chgrp.c chown-core.c chmod.c chown.c
chown-core.c chroot.c cksum.c comm.c cp.c copy.c
cp-hash.c csplit.c cut.c date.c dd.c df.c ls.c
ls-dir.c dircolors.c dirname.c du.c echo.c env.c
expand.c expr.c factor.c false.c fmt.c fold.c
install.c copy.c cp-hash.c head.c hostid.c hostname.c
id.c join.c link.c ln.c logname.c ls.c ls-ls.c
md5sum.c md5.c mkdir.c mkfifo.c mknod.c mv.c copy.c
cp-hash.c remove.c nice.c nl.c nohup.c od.c paste.c
pathchk.c pinky.c pr.c printenv.c printf.c ptx.c pwd.c
readlink.c rm.c remove.c rmdir.c seq.c setuidgid.c
md5sum.c sha1sum.c shred.c sleep.c sort.c split.c
stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c
test.c touch.c tr.c true.c tsort.c tty.c uname.c
unexpand.c uniq.c unlink.c users.c ls.c ls-vdir.c wc.c
who.c whoami.c yes.c && exit 1 || :
rm -f authors-actual authors-dotdot
for i in `ls [ chgrp chown chmod cp dd dircolors du
ginstall link ln dir vdir ls mkdir mkfifo mknod mv
nohup readlink rm rmdir shred stat sync touch unlink
cat cksum comm csplit cut expand fmt fold head join
md5sum nl od paste pr ptx sha1sum sort split sum tac
tail tr tsort unexpand uniq wc basename date dirname
echo env expr factor false hostname id logname pathchk
printenv printf pwd seq sleep tee test true tty whoami
yes uname chroot hostid nice pinky users who stty df
groups chroot df hostid nice pinky stty su uname users
who | sed -e 's,$,,' \
    | LC_ALL=C sort -u`; do                           
 \
  test "$i" = '[' && continue;                  \
  exe=$i;                                       \
  if test "$i" = install; then                  \
    exe=ginstall;                               \
  elif test "$i" = test; then                   \
    exe='[';                                    \
  fi;                                           \
  ./$exe --version                              \
    |sed -n '/Written by /{ s//'"$i"': /; s/,* and /,
/; s/\.$//; p; }'; \
done > authors-actual
sed -n '/:/p' ../AUTHORS > authors-dotdot
diff authors-actual authors-dotdot && rm -f
authors-actual authors-dotdot
make  check-am
make[2]: Entering directory
`/sources-lfs/coreutils-5.96/src'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory
`/sources-lfs/coreutils-5.96/src'
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/src'
Making check in doc
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/doc'
fail=0; \
grep timezone ./*.texi && fail=1; \
/bin/grep -E '(^|[^A-Za-z0-9_])IO([^A-Za-z0-9_]|$)'
./*.texi && fail=1; \
grep non-zero ./*.texi && fail=1; \
grep '@url{' ./*.texi && fail=1; \
/bin/grep -E '(^|[^A-Za-z0-9_])NUL([^A-Za-z0-9_]|$)'
./*.texi && fail=1; \
grep '\$@"' ./*.texi && fail=1; \
grep -n '[^[:punct:address@hidden' ./*.texi && fail=1; \
grep -n filename ./*.texi|grep -vE
'setfilename|{filename}' \
  && fail=1; \
perl -e 1 2> /dev/null && { perl -ne \
  '/\bPOSIX\b/ && !/address@hidden/ && !/^\* / ||
/{posix}/ and print,exit 1' \
  ./*.texi 2> /dev/null || fail=1; }; \
grep -iwE 'builtins?' ./*.texi && fail=1; \
grep -iwE 'path(name)?s?' ./*.texi \
  | grep -vE '@vindex PATH$|@env{PATH}' && fail=1; \
exit $fail
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/doc'
Making check in man
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/man'
make  check-local
make[2]: Entering directory
`/sources-lfs/coreutils-5.96/man'
PATH=../src:$PATH; export PATH;         \
t=ls-files.$$;                                        
 \
(cd . && ls -1 *.x) | grep -v -e 'kill.x' -e 'su.x' -e
'uptime.x' | sed 's/\.x$//' | LC_ALL=C sort > $t;\
echo basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1
cksum.1 comm.1 cp.1 csplit.1 cut.1 date.1 dd.1 df.1
dir.1 dircolors.1 dirname.1 du.1 echo.1 env.1 expand.1
expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 head.1
hostid.1 hostname.1 id.1 install.1 join.1 link.1 ln.1
logname.1 ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1
nice.1 nl.1 nohup.1 od.1 paste.1 pathchk.1 pinky.1
pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 rm.1
rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1
stat.1 stty.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1
touch.1 tr.1 true.1 tsort.1 tty.1 uname.1 unexpand.1
uniq.1 unlink.1 users.1 vdir.1 wc.1 who.1 whoami.1
yes.1 | tr -s ' ' '\n' | sed 's/\.1$//'      \
  | LC_ALL=C sort | diff - $t || { rm $t; exit 1; };  
         \
rm $t
status=0;                                       \
for p in dummy `(cd ../src && MAKEFLAGS= make -s
all_programs.list) | grep -v '\['`; do         \
  test $p = dummy && continue;                  \
  test $p = ginstall && p=install || : ;        \
  test -f ./$p.x                        \
    || { echo missing $p.x 1>&2; status=1; };   \
done;                                           \
exit $status
make[2]: Leaving directory
`/sources-lfs/coreutils-5.96/man'
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/man'
Making check in po
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/po'
Making check in tests
make[1]: Entering directory
`/sources-lfs/coreutils-5.96/tests'
../src/printenv POSIXLY_CORRECT >/dev/null \
  && sed s/%%/POSIXLY_CORRECT/ ./.env-warn || :
test "${CDPATH+set}" = set \
  && sed s/%%/CDPATH/ ./.env-warn || :
***********************************************************
NOTICE: Some tests may be run only as root.
  Do `make check-root' as `root' to run these tests.
***********************************************************
Making check in basename
make[2]: Entering directory
`/sources-lfs/coreutils-5.96/tests/basename'
make  check-TESTS
make[3]: Entering directory
`/sources-lfs/coreutils-5.96/tests/basename'
PASS: basic
==================
All 1 tests passed
==================
make[3]: Leaving directory
`/sources-lfs/coreutils-5.96/tests/basename'
make[2]: Leaving directory
`/sources-lfs/coreutils-5.96/tests/basename'
Making check in chgrp
make[2]: Entering directory
`/sources-lfs/coreutils-5.96/tests/chgrp'
make  check-TESTS
make[3]: Entering directory
`/sources-lfs/coreutils-5.96/tests/chgrp'
PASS: no-x
PASS: posix-H
expected actual differ: char 160, line 6
6c6
< changed group of `f' to SOMENAME
---
> changed group of `f' to G2
FAIL: basic
PASS: deref
PASS: recurse
======================================
1 of 5 tests failed
Please report to address@hidden
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/sources-lfs/coreutils-5.96/tests/chgrp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/sources-lfs/coreutils-5.96/tests/chgrp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/sources-lfs/coreutils-5.96/tests'
make: *** [check-recursive] Error 1


and

address@hidden : /address@hidden:~# useradd -m test
address@hidden : /address@hidden:~# su - test
id: cannot find name for group ID 1002
id: cannot find name for user ID 1001
address@hidden : /home/testI have no address@hidden:~$
uname
Linux
address@hidden : /home/testI have no address@hidden:~$ who
who     whoami
I have no address@hidden:~$ whoami
whoami: cannot find name for user ID 1001
address@hidden : /home/testI have no address@hidden:~$
address@hidden : /home/testI have no address@hidden:~$     
           





reply via email to

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