bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-6.9.90 test results for x86_64-linux-gnu


From: Mike Frysinger
Subject: coreutils-6.9.90 test results for x86_64-linux-gnu
Date: Sun, 2 Dec 2007 17:33:12 -0500
User-agent: KMail/1.9.7

running as root i see these test failures:
rm: fail-2eperm
cp: preserve-gid

pretty sure the first one is known

random system info:
linux-2.6.23.1
binutils-2.18.50.0.3
glibc-2.7
gcc-4.2.2
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

FAIL: fail-2eperm.log (exit: 1)
===============================

+ rm --version
rm (GNU coreutils) 6.9.90
Copyright (C) 2007 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 Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
+ . ../../../tests/rm/../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
+ PRIV_CHECK_ARG=require-root
+ . ../../../tests/rm/../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=65534
++ test 0 = 0
++ test 65534 = 0
++ give_msg=no
++ case $PRIV_CHECK_ARG:$my_uid in
++ test no = yes
+ . ../../../tests/rm/../test-lib.sh
++ unset function_test
++ eval 'function_test() { return 11; }; function_test'
+++ function_test
+++ return 11
++ test 11 '!=' 11
+++ pwd
++ test_dir_=/root/coreutils-6.9.90/build/tests/rm
+++ this_test_
+++ echo ././../../../tests/rm/fail-2eperm
+++ sed 's,.*/,,'
++ this_test=fail-2eperm
++ . ../../../tests/rm/../envvar-check
+++ as_unset=unset
+++ envvar_check_failed=0
+++ vars='
  _POSIX2_VERSION
  BLOCKSIZE
  BLOCK_SIZE
  CDPATH
  COLUMNS
  DF_BLOCK_SIZE
  DU_BLOCK_SIZE
  LS_BLOCK_SIZE
  LS_COLORS
  POSIXLY_CORRECT
  QUOTING_STYLE
  SIMPLE_BACKUP_SUFFIX
  TABSIZE
  TERM
  TIME_STYLE
  TMPDIR
  VERSION_CONTROL
'
+++ for var in '$vars'
+++ unset _POSIX2_VERSION
+++ eval test '"${_POSIX2_VERSION+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset BLOCKSIZE
+++ eval test '"${BLOCKSIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset BLOCK_SIZE
+++ eval test '"${BLOCK_SIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset CDPATH
+++ eval test '"${CDPATH+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset COLUMNS
+++ eval test '"${COLUMNS+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset DF_BLOCK_SIZE
+++ eval test '"${DF_BLOCK_SIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset DU_BLOCK_SIZE
+++ eval test '"${DU_BLOCK_SIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset LS_BLOCK_SIZE
+++ eval test '"${LS_BLOCK_SIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset LS_COLORS
+++ eval test '"${LS_COLORS+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset POSIXLY_CORRECT
+++ eval test '"${POSIXLY_CORRECT+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset QUOTING_STYLE
+++ eval test '"${QUOTING_STYLE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset SIMPLE_BACKUP_SUFFIX
+++ eval test '"${SIMPLE_BACKUP_SUFFIX+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset TABSIZE
+++ eval test '"${TABSIZE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset TERM
+++ eval test '"${TERM+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset TIME_STYLE
+++ eval test '"${TIME_STYLE+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset TMPDIR
+++ eval test '"${TMPDIR+set}"' = set
++++ test '' = set
+++ for var in '$vars'
+++ unset VERSION_CONTROL
+++ eval test '"${VERSION_CONTROL+set}"' = set
++++ test '' = set
+++ test '' = 1
+++ /root/coreutils-6.9.90/build/src/mktemp -d 
--tmp=/root/coreutils-6.9.90/build/tests/rm cu-fail-2eperm.XXXXXXXXXX
++ t_=/root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH
++ trap 'st=$?; cleanup_; 
d=/root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH;
    cd /root/coreutils-6.9.90/build/tests/rm && chmod -R u+rwx "$d" && rm -rf 
"$d" && exit $st' 0
++ trap '(exit $?); exit $?' 1 2 13 15
++ cd /root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH
++ diff --version
++ grep GNU
+ chown nobody .
+ mkdir a
+ chmod 1777 a
+ touch a/b
+ fail=0
++ setuidgid nobody env 
PATH=/root/coreutils-6.9.90/build/src:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/alpha-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/alpha-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/arm-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/arm-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/arm-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/3.4.6:/usr/x86_64-pc-linux-gnu/cris-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/cris-unknown-linux-gnu/gcc-bin/4.2.0:/usr/x86_64-pc-linux-gnu/hppa-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/hppa2.0-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i386-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i686-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/x86_64-pc-linux-gnu/ia64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/m68k-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/m68k-unknown-linux-gnu/gcc-bin/4.1.0:/usr/x86_64-pc-linux-gnu/mingw32/gcc-bin/4.2.0:/usr/x86_64-pc-linux-gnu/mips-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mips64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mips64el-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mipsel-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/nios2-uclinux/gcc-bin/3.4.5:/usr/x86_64-pc-linux-gnu/powerpc-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/powerpc-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/powerpc-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/s390-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/sh4-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/sh4-unknown-linux-gnu/gcc-bin/3.4.6:/usr/x86_64-pc-linux-gnu/sh4eb-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/sparc-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/x86_64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2:/opt/xmingw/bin:/opt/ghc/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/var/qmail/bin:/var/vpopmail/bin:/usr/games/bin
 rm --version
++ sed -n '1s/.* //p'
+ rm_version=6.9
+ case $rm_version in
+ echo './../../../tests/rm/fail-2eperm: cannot access just-built rm as user 
nobody'
./../../../tests/rm/fail-2eperm: cannot access just-built rm as user nobody
+ fail=1
+ setuidgid nobody env 
PATH=/root/coreutils-6.9.90/build/src:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/alpha-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/alpha-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/arm-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/arm-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/arm-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/armeb-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/3.4.6:/usr/x86_64-pc-linux-gnu/cris-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/cris-unknown-linux-gnu/gcc-bin/4.2.0:/usr/x86_64-pc-linux-gnu/hppa-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/hppa2.0-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i386-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i686-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/x86_64-pc-linux-gnu/ia64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/m68k-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/m68k-unknown-linux-gnu/gcc-bin/4.1.0:/usr/x86_64-pc-linux-gnu/mingw32/gcc-bin/4.2.0:/usr/x86_64-pc-linux-gnu/mips-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mips64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mips64el-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/mipsel-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/nios2-uclinux/gcc-bin/3.4.5:/usr/x86_64-pc-linux-gnu/powerpc-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/powerpc-softfloat-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/powerpc-unknown-linux-gnu/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/s390-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/sh4-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/sh4-unknown-linux-gnu/gcc-bin/3.4.6:/usr/x86_64-pc-linux-gnu/sh4eb-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/sparc-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/x86_64-gentoo-linux-uclibc/gcc-bin/4.1.1:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2:/opt/xmingw/bin:/opt/ghc/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/var/qmail/bin:/var/vpopmail/bin:/usr/games/bin
 rm -rf a
+ onp='Operation not permitted'
+ sed 's/Not owner/Operation not permitted/;s/Permission denied/Operation not 
permitted/' out-t
+ cat
+ compare out exp
+ diff -u out exp
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ :
+ d=/root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH
+ cd /root/coreutils-6.9.90/build/tests/rm
+ chmod -R u+rwx /root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH
+ rm -rf /root/coreutils-6.9.90/build/tests/rm/cu-fail-2eperm.vEhLK8PGUH
+ exit 1
FAIL: preserve-gid.log (exit: 1)
================================

+ cp --version
cp (GNU coreutils) 6.9.90
Copyright (C) 2007 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 Torbjorn Granlund, David MacKenzie, and Jim Meyering.
++ perl -le 'foreach my $i (1000..16*1024-1) { getpwuid $i or (print $i), exit 
}'
+ nameless_uid=1000
++ perl -le 'foreach my $i (1000..16*1024) { getgrgid $i or (print $i), exit }'
+ nameless_gid1=1000
++ perl -le 'foreach my $i (1000+1..16*1024) { getgrgid $i or (print $i), exit 
}'
+ nameless_gid2=1017
+ test -z 1000
+ test -z 1000
+ test -z 1017
+ chown +1000 .
+ create a0 0 0
+ echo a0
+ chown +0:+0 a0
+ create b0 1000 1000
+ echo b0
+ chown +1000:+1000 b0
+ create b1 1000 1017
+ echo b1
+ chown +1000:+1017 b1
+ create c0 0 1000
+ echo c0
+ chown +0:+1000 c0
+ create c1 0 1017
+ echo c1
+ chown +0:+1017 c1
+ t0 a0 0 0 cp
+ f=a0
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp a0 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 b0 0 0 cp
+ f=b0
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp b0 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 b1 0 0 cp
+ f=b1
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp b1 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 c0 0 0 cp
+ f=c0
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp c0 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 c1 0 0 cp
+ f=c1
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp c1 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 a0 0 0 cp -p
+ f=a0
+ shift
+ u=0
+ shift
+ g=0
+ shift
+ rm -f b
+ cp -p a0 b
++ stat -c '%u %g' b
+ s='0 0'
+ test 'x0 0' '!=' 'x0 0'
+ t0 b0 1000 1000 cp -p
+ f=b0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ cp -p b0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t0 b1 1000 1017 cp -p
+ f=b1
+ shift
+ u=1000
+ shift
+ g=1017
+ shift
+ rm -f b
+ cp -p b1 b
++ stat -c '%u %g' b
+ s='1000 1017'
+ test 'x1000 1017' '!=' 'x1000 1017'
+ t0 c0 0 1000 cp -p
+ f=c0
+ shift
+ u=0
+ shift
+ g=1000
+ shift
+ rm -f b
+ cp -p c0 b
++ stat -c '%u %g' b
+ s='0 1000'
+ test 'x0 1000' '!=' 'x0 1000'
+ t0 c1 0 1017 cp -p
+ f=c1
+ shift
+ u=0
+ shift
+ g=1017
+ shift
+ rm -f b
+ cp -p c1 b
++ stat -c '%u %g' b
+ s='0 1017'
+ test 'x0 1017' '!=' 'x0 1017'
+ t1 a0 1000 1000 cp
+ f=a0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 a0 1000 1000 setuidgid -g 1000,1017 1000 cp
+ f=a0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp a0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 b0 1000 1000 cp
+ f=b0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 b0 1000 1000 setuidgid -g 1000,1017 1000 cp
+ f=b0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp b0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 b1 1000 1000 cp
+ f=b1
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 b1 1000 1000 setuidgid -g 1000,1017 1000 cp
+ f=b1
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp b1 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 c0 1000 1000 cp
+ f=c0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 c0 1000 1000 setuidgid -g 1000,1017 1000 cp
+ f=c0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp c0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 c1 1000 1000 cp
+ f=c1
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 c1 1000 1000 setuidgid -g 1000,1017 1000 cp
+ f=c1
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp c1 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 a0 1000 1000 cp -p
+ f=a0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 a0 1000 1000 setuidgid -g 1000,1017 1000 cp -p
+ f=a0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp -p a0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 b0 1000 1000 cp -p
+ f=b0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 b0 1000 1000 setuidgid -g 1000,1017 1000 cp -p
+ f=b0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp -p b0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 b1 1000 1017 cp -p
+ f=b1
+ shift
+ u=1000
+ shift
+ g=1017
+ shift
+ t0 b1 1000 1017 setuidgid -g 1000,1017 1000 cp -p
+ f=b1
+ shift
+ u=1000
+ shift
+ g=1017
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp -p b1 b
++ stat -c '%u %g' b
+ s='1000 1017'
+ test 'x1000 1017' '!=' 'x1000 1017'
+ t1 c0 1000 1000 cp -p
+ f=c0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ t0 c0 1000 1000 setuidgid -g 1000,1017 1000 cp -p
+ f=c0
+ shift
+ u=1000
+ shift
+ g=1000
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp -p c0 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1000'
+ t1 c1 1000 1017 cp -p
+ f=c1
+ shift
+ u=1000
+ shift
+ g=1017
+ shift
+ t0 c1 1000 1017 setuidgid -g 1000,1017 1000 cp -p
+ f=c1
+ shift
+ u=1000
+ shift
+ g=1017
+ shift
+ rm -f b
+ setuidgid -g 1000,1017 1000 cp -p c1 b
++ stat -c '%u %g' b
+ s='1000 1000'
+ test 'x1000 1000' '!=' 'x1000 1017'
+ echo './../../../tests/cp/preserve-gid: setuidgid -g 1000,1017 1000 cp -p c1 
b: 1000 1017 != 1000 1000'
./../../../tests/cp/preserve-gid: setuidgid -g 1000,1017 1000 cp -p c1 b: 1000 
1017 != 1000 1000
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ :
+ d=/root/coreutils-6.9.90/build/tests/cp/cu-preserve-gid.zPThCfs1F0
+ cd /root/coreutils-6.9.90/build/tests/cp
+ chmod -R u+rwx 
/root/coreutils-6.9.90/build/tests/cp/cu-preserve-gid.zPThCfs1F0
+ rm -rf /root/coreutils-6.9.90/build/tests/cp/cu-preserve-gid.zPThCfs1F0
+ exit 1

reply via email to

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