]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Disable the --line-bytes=$_4gb test,
authorJim Meyering <jim@meyering.net>
Fri, 25 Jul 2003 07:23:40 +0000 (07:23 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 25 Jul 2003 07:23:40 +0000 (07:23 +0000)
because it'd evoke spurious failure on 64-bit systems.

tests/misc/split-fail

index 247f4d4751083f157b3f760df02a1f29cc02a06b..e1a1820b235b429dd4cd7aa12ae6b0b043fe1e71 100755 (executable)
@@ -42,9 +42,11 @@ split --lines=$_4gb in || fail=1
 split --bytes=$_4gb in || fail=1
 
 # Currently (coreutils-5.0.1) split --line-bytes=M fails
-# with `invalid number of bytes' for M=2^32 or larger.  Test it.
-# Of course, this is an artificial limit and should be fixed.
-split --line-bytes=$_4gb 2> /dev/null in && fail=1
+# with `invalid number of bytes' for M=2^32 or larger.  Actually,
+# the limit is SIZE_MAX, which is 2^32 on 32-bit systems.
+# On 64-bit systems, there's no problem with a count of 2^32,
+# So disable this test in order to avoid the `failure' on 64-bit systems.
+#split --line-bytes=$_4gb 2> /dev/null in && fail=1
 
 # Make sure that a huge obsolete option evokes the right failure.
 env -u _POSIX2_VERSION split -99999999999999999991 2> out && fail=1