bug-coreutils
[Top][All Lists]
Advanced

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

two netbsd 1.6 test failures: skip-seek-past-file and install-C


From: Jim Meyering
Subject: two netbsd 1.6 test failures: skip-seek-past-file and install-C
Date: Wed, 25 Feb 2009 20:42:26 +0100

I don't have time to work on these right now,
but maybe someone else does:

FAIL: dd/skip-seek-past-file.log (exit: 1)
==========================================

+ dd --version
dd (coreutils) 7.1
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 Paul Rubin, David MacKenzie, and Stuart Kemp.
+ . ./test-lib.sh
+ unset function_test
+ eval function_test() { return 11; }; function_test
+ function_test
+ test 11 != 11
+ pwd
+ test_dir_=/tmp/.j/coreutils-7.1/tests
+ this_test_
+ this_test=skip-seek-past-file
+ /tmp/.j/coreutils-7.1/src/mktemp -d --tmp=/tmp/.j/coreutils-7.1/tests 
cu-skip-seek-past-file.XXXXXXXXXX
+ t_=/tmp/.j/coreutils-7.1/tests/cu-skip-seek-past-file.2vZqjT1nhq
+ trap remove_tmp_ 0
+ trap Exit $? 1 2 13 15
+ cd /tmp/.j/coreutils-7.1/tests/cu-skip-seek-past-file.2vZqjT1nhq
+ 2>&1
+ > /dev/null
+ diff --version
+ < /dev/null
+ 2>&1
+ grep GNU
+ getlimits
+ eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 
SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 
SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 
INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 
INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 
LONG_MAX=2147483647 LONG_OFLOW=2147483648 LONG_MIN=-2147483648 
LONG_UFLOW=-2147483649 ULONG_MAX=4294967295 ULONG_OFLOW=4294967296 
SIZE_MAX=4294967295 SIZE_OFLOW=4294967296 SSIZE_MAX=2147483647 
SSIZE_OFLOW=2147483648 SSIZE_MIN=-2147483648 SSIZE_UFLOW=-2147483649 
TIME_T_MAX=2147483647 TIME_T_OFLOW=2147483648 TIME_T_MIN=-2147483648 
TIME_T_UFLOW=-2147483649 UID_T_MAX=4294967295 UID_T_OFLOW=4294967296 
GID_T_MAX=4294967295 GID_T_OFLOW=4294967296 PID_T_MAX=2147483647 
PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 
OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 
OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 
INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 
INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 
UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616
+ CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 
SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 
SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 
INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 
INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 
LONG_MAX=2147483647 LONG_OFLOW=2147483648 LONG_MIN=-2147483648 
LONG_UFLOW=-2147483649 ULONG_MAX=4294967295 ULONG_OFLOW=4294967296 
SIZE_MAX=4294967295 SIZE_OFLOW=4294967296 SSIZE_MAX=2147483647 
SSIZE_OFLOW=2147483648 SSIZE_MIN=-2147483648 SSIZE_UFLOW=-2147483649 
TIME_T_MAX=2147483647 TIME_T_OFLOW=2147483648 TIME_T_MIN=-2147483648 
TIME_T_UFLOW=-2147483649 UID_T_MAX=4294967295 UID_T_OFLOW=4294967296 
GID_T_MAX=4294967295 GID_T_OFLOW=4294967296 PID_T_MAX=2147483647 
PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 
OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 
OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 
INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 
INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 
UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616
+ fail=0
+ printf 1234
+ > file
+ echo dd: `standard input': cannot skip to specified offset
0+0 records in
0+0 records out
+ > skip_err
+ dd bs=1 skip=5 count=0 status=noxfer
+ < file
+ 2> err
+ compare skip_err err
+ dd bs=3 skip=2 count=0 status=noxfer
+ < file
+ 2> err
+ compare skip_err err
+ dd bs=1 skip=5 count=0 status=noxfer
+ 2> err
+ cat file
+ compare skip_err err
+ cat file
+ dd bs=3 skip=2 count=0 status=noxfer
+ 2> err
+ compare skip_err err
+ < file
+ dd bs=1 skip=1 count=0
+ 2> /dev/null
+ dd bs=1 skip=4 status=noxfer
+ 2> err
+ compare skip_err err
+ < file
+ dd bs=1 skip=1 count=0
+ 2> /dev/null
+ dd bs=2 skip=2 status=noxfer
+ 2> err
+ compare skip_err err
+ dd bs=1 seek=5 count=0 status=noxfer
+ > file
+ 2> err
+ echo 0+0 records in
0+0 records out
+ > err_ok
+ compare err_ok err
+ dd bs=1 skip=9223372036854775808 count=0 status=noxfer
+ < file
+ 2> err
+ echo dd: `standard input': cannot skip: Value too large for defined data type
0+0 records in
0+0 records out
+ > err_ok
+ compare err_ok err
--- err_ok      2009-02-25 11:36:49 -0700
+++ err 2009-02-25 11:36:49 -0700
@@ -1,3 +1,3 @@
-dd: `standard input': cannot skip: Value too large for defined data type
+dd: `standard input': cannot skip: Value too large to be stored in data type
 0+0 records in
 0+0 records out
+ fail=1
+ truncate --size=9223372036854775807 in
+ 2> /dev/null
+ dd bs=1 skip=9223372036854775807 count=0 status=noxfer
+ < file
+ 2> err
+ lseek_ok=yes
+ printf %s\n dd: `standard input': cannot skip: Invalid argument 0+0 records 
in 0+0 records out
+ > err_ok
+ test yes = yes
+ compare skip_err err
+ Exit 1

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

+ ginstall --version
install (GNU coreutils) 7.1
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
+ test 11 != 11
+ pwd
+ test_dir_=/tmp/.j/coreutils-7.1/tests
+ this_test_
+ this_test=install-C
+ /tmp/.j/coreutils-7.1/src/mktemp -d --tmp=/tmp/.j/coreutils-7.1/tests 
cu-install-C.XXXXXXXXXX
+ t_=/tmp/.j/coreutils-7.1/tests/cu-install-C.RPD9719PYj
+ trap remove_tmp_ 0
+ trap Exit $? 1 2 13 15
+ cd /tmp/.j/coreutils-7.1/tests/cu-install-C.RPD9719PYj
+ 2>&1
+ > /dev/null
+ diff --version
+ < /dev/null
+ grep GNU
+ 2>&1
+ . /tmp/.j/coreutils-7.1/tests/setgid-check
+ cwd_is_setgid=no
+ setgid_tmpdir=setgid-22953
+ umask 77
+ mkdir setgid-22953
+ ls -ld setgid-22953
+ sed s/ .*//
+ p=drwx------
+ rmdir setgid-22953
+ test no = yes
+ mode1=0644
+ mode2=0755
+ mode3=1755
+ fail=0
+ echo test
+ > a
+ echo `a' -> `b'
+ > out_installed_first
+ echo removed `b'
`a' -> `b'
+ > out_installed_second
+ > out_empty
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_installed_first
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_empty
--- out 2009-02-25 11:37:03 -0700
+++ out_empty   2009-02-25 11:37:03 -0700
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ ginstall -v --compare -m0644 a b
+ > out
+ compare out out_empty
--- out 2009-02-25 11:37:03 -0700
+++ out_empty   2009-02-25 11:37:03 -0700
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ ginstall -v -m0644 a b
+ > out
+ compare out out_installed_second
+ ginstall -Cv -m1755 a b
+ > out
ginstall: the --compare (-C) option is ignored when you specify a mode with 
non-permission bits
ginstall: cannot change permissions of `b': Inappropriate file type or format
+ fail=1
+ compare out out_installed_second
+ ginstall -Cv -m1755 a b
+ > out
ginstall: the --compare (-C) option is ignored when you specify a mode with 
non-permission bits
ginstall: cannot change permissions of `b': Inappropriate file type or format
+ fail=1
+ compare out out_installed_second
+ ln -s a c
+ ln -s b d
+ ginstall -Cv -m0644 c d
+ > out
+ echo removed `d'
`c' -> `d'
+ > out_installed_second_cd
+ compare out out_installed_second_cd
+ echo test1
+ > a
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_installed_second
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_empty
--- out 2009-02-25 11:37:04 -0700
+++ out_empty   2009-02-25 11:37:03 -0700
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ echo test2
+ > a
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_installed_second
+ ginstall -Cv -m0644 a b
+ > out
+ compare out out_empty
--- out 2009-02-25 11:37:04 -0700
+++ out_empty   2009-02-25 11:37:03 -0700
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ ginstall -Cv -m0755 a b
+ > out
+ compare out out_installed_second
+ ginstall -Cv -m0755 a b
+ > out
+ compare out out_empty
--- out 2009-02-25 11:37:04 -0700
+++ out_empty   2009-02-25 11:37:03 -0700
@@ -1,2 +0,0 @@
-removed `b'
-`a' -> `b'
+ fail=1
+ ginstall -C --preserve-timestamps a b
ginstall: options --compare (-C) and --preserve-timestamps are mutually 
exclusive
Try `ginstall --help' for more information.
+ ginstall -C --strip --strip-program=echo a b
ginstall: options --compare (-C) and --strip are mutually exclusive
Try `ginstall --help' for more information.
+ Exit 1




reply via email to

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