bug-coreutils
[Top][All Lists]
Advanced

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

misc/truncate-fail-diag, cp/thru-dangling, mkdir/selinux failures on HP-


From: Bruno Haible
Subject: misc/truncate-fail-diag, cp/thru-dangling, mkdir/selinux failures on HP-UX
Date: Wed, 11 Jun 2008 03:24:56 +0200
User-agent: KMail/1.5.4

Building coreutils-6.12.29-a16be on HP-UX 11.00, there are 3 failures.


===========================================
 3 of 344 tests failed
 (47 tests were not run)
 See tests/test-suite.log
 Please report it to address@hidden
===========================================

=======================================================
   GNU coreutils 6.12.29-a16be: tests/test-suite.log   
=======================================================

3 of 344 tests failed.  (47 tests were not run).  

.. contents:: :depth: 2


FAIL: misc/truncate-fail-diag.log (exit: 1)
===========================================

+ truncate --version
truncate (GNU coreutils) 6.12.29-a16be
Copyright (C) 2008 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 P�draig Brady.
+ . ./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
+ . ./test-lib.sh
+ unset function_test
+ eval function_test() { return 11; }; function_test
+ function_test
+ test 11 != 11
+ + pwd
test_dir_=/home/haible/coreutils-6.12.29-a16be/tests
+ + this_test_
this_test=truncate-fail-diag
+ + /home/haible/coreutils-6.12.29-a16be/src/mktemp -d 
--tmp=/home/haible/coreutils-6.12.29-a16be/tests 
cu-truncate-fail-diag.XXXXXXXXXX
t_=/home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r
+ trap st=$?; cleanup_; 
d=/home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r;
    cd /home/haible/coreutils-6.12.29-a16be/tests && chmod -R u+rwx "$d" && rm 
-rf "$d" && exit $st 0
+ trap (exit $?); exit $? 1 2 13 15
+ cd /home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r
+ 2>& 1 1> /dev/null
+ diff --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ 2>& 1 1> /dev/null
+ cmp --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ skip_if_root_
+ fail=0
+ d1=no
+ dir=no/such-dir
+ truncate -s0 no/such-dir
+ 1> out 2>& 1
+ cat
+ 0<<
truncate: cannot open `no/such-dir' for writing: No such file or directory
1> exp
+ compare out exp
+ dir=no/
+ truncate -s0 no/
+ 1> out 2>& 1
+ fail=1
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ d=/home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r
+ cd /home/haible/coreutils-6.12.29-a16be/tests
+ chmod -R u+rwx 
/home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r
+ rm -rf 
/home/haible/coreutils-6.12.29-a16be/tests/cu-truncate-fail-diag.I1aiUQRo7r
+ exit 1

FAIL: cp/thru-dangling.log (exit: 1)
====================================

+ cp --version
cp (GNU coreutils) 6.12.29-a16be
Copyright (C) 2008 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 Torbj�rn Granlund, David MacKenzie, and Jim Meyering.
+ . ./test-lib.sh
+ unset function_test
+ eval function_test() { return 11; }; function_test
+ function_test
+ test 11 != 11
+ + pwd
test_dir_=/home/haible/coreutils-6.12.29-a16be/tests
+ + this_test_
this_test=thru-dangling
+ + /home/haible/coreutils-6.12.29-a16be/src/mktemp -d 
--tmp=/home/haible/coreutils-6.12.29-a16be/tests cu-thru-dangling.XXXXXXXXXX
t_=/home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG
+ trap st=$?; cleanup_; 
d=/home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG;
    cd /home/haible/coreutils-6.12.29-a16be/tests && chmod -R u+rwx "$d" && rm 
-rf "$d" && exit $st 0
+ trap (exit $?); exit $? 1 2 13 15
+ cd /home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG
+ 2>& 1 1> /dev/null
+ diff --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ 2>& 1 1> /dev/null
+ cmp --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ ln -s no-such dangle
+ echo hi
+ 1> f
+ echo hi
+ 1> exp
+ echo cp: not writing through dangling symlink `dangle'
+ 1> exp-err
+ fail=0
+ cp f dangle
+ 1> err 2>& 1
+ compare err exp-err
+ test -f no-such
+ cp f dangle
+ 1> out 2>& 1
+ cat no-such
+ 1>> out
+ compare out exp
out exp differ: char 1, line 1
+ fail=1
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ d=/home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG
+ cd /home/haible/coreutils-6.12.29-a16be/tests
+ chmod -R u+rwx 
/home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG
+ rm -rf /home/haible/coreutils-6.12.29-a16be/tests/cu-thru-dangling.zfgsLFK4bG
+ exit 1

FAIL: mkdir/selinux.log (exit: 1)
=================================

+ mkdir --version
mkdir (GNU coreutils) 6.12.29-a16be
Copyright (C) 2008 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.
+ mkfifo --version
mkfifo (GNU coreutils) 6.12.29-a16be
Copyright (C) 2008 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.
+ mknod --version
mknod (GNU coreutils) 6.12.29-a16be
Copyright (C) 2008 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
+ test 11 != 11
+ + pwd
test_dir_=/home/haible/coreutils-6.12.29-a16be/tests
+ + this_test_
this_test=selinux
+ + /home/haible/coreutils-6.12.29-a16be/src/mktemp -d 
--tmp=/home/haible/coreutils-6.12.29-a16be/tests cu-selinux.XXXXXXXXXX
t_=/home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH
+ trap st=$?; cleanup_; 
d=/home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH;
    cd /home/haible/coreutils-6.12.29-a16be/tests && chmod -R u+rwx "$d" && rm 
-rf "$d" && exit $st 0
+ trap (exit $?); exit $? 1 2 13 15
+ cd /home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH
+ 2>& 1 1> /dev/null
+ diff --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ 2>& 1 1> /dev/null
+ cmp --version
+ grep GNU
+ 0< /dev/null 2>& 1
+ c=invalid-selinux-context
+ msg=failed to set default file creation context to `invalid-selinux-context':
+ env -- mkdir dir -Z invalid-selinux-context
+ 2> out
+ set mkdir dir
+ cmd=mkdir
+ echo mkdir: failed to set default file creation context to 
`invalid-selinux-context':
+ 1> exp
+ sed -e s/ Not supported$// -e s/ Invalid argument$// -e s/ Unknown system 
error$// -e s/ Operation not supported$// -e s/ Function not implemented$// -e 
s/ No such file or directory$// out
+ 1> k
+ mv k out
+ compare out exp
out exp differ: char 81, line 1
+ fail=1
+ env -- mknod b p -Z invalid-selinux-context
+ 2> out
+ set mknod b p
+ cmd=mknod
+ echo mknod: failed to set default file creation context to 
`invalid-selinux-context':
+ 1> exp
+ sed -e s/ Not supported$// -e s/ Invalid argument$// -e s/ Unknown system 
error$// -e s/ Operation not supported$// -e s/ Function not implemented$// -e 
s/ No such file or directory$// out
+ 1> k
+ mv k out
+ compare out exp
out exp differ: char 81, line 1
+ fail=1
+ env -- mkfifo f -Z invalid-selinux-context
+ 2> out
+ set mkfifo f
+ cmd=mkfifo
+ echo mkfifo: failed to set default file creation context to 
`invalid-selinux-context':
+ 1> exp
+ sed -e s/ Not supported$// -e s/ Invalid argument$// -e s/ Unknown system 
error$// -e s/ Operation not supported$// -e s/ Function not implemented$// -e 
s/ No such file or directory$// out
+ 1> k
+ mv k out
+ compare out exp
out exp differ: char 82, line 1
+ fail=1
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ d=/home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH
+ cd /home/haible/coreutils-6.12.29-a16be/tests
+ chmod -R u+rwx 
/home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH
+ rm -rf /home/haible/coreutils-6.12.29-a16be/tests/cu-selinux.xtUd5nylnH
+ exit 1
make[4]: *** [test-suite.log] Error 1





reply via email to

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