Public bug reported:

Binary package hint: dash

Ubuntu 9.10rc and Ubuntu 8.10 and probably others.
x86 hardware

dash:  Installed: 0.5.4-9ubuntu1.1 on 8.10 and  Installed:
0.5.5.1-2ubuntu3 on 9.10rc

dash (and thus, via symlink, /bin/sh and thus almost every script on
the system) fails to handle test -nt on large files (larger than 2GB?).
All tests return false.  BASH and /usr/bin/test handle it correctly.

$ dash
$ touch bar
$ dd if=/dev/zero of=foo bs=1024K count=2500
$ test foo -nt bar && echo hi
$ test bar -nt foo && echo hi
$ /usr/bin/test foo -nt bar && echo hi
hi

$ bash
bash$ test foo -nt bar && echo hi
hi

ProblemType: Bug
Architecture: i386
Dependencies:
 libgcc1 1:4.3.2-1ubuntu12
 gcc-4.3-base 4.3.2-1ubuntu12
 findutils 4.4.0-2ubuntu3
 debianutils 2.29ubuntu2
 libc6 2.8~20080505-0ubuntu9
DistroRelease: Ubuntu 8.10
Package: dash 0.5.4-9ubuntu1.1
ProcEnviron:
 LC_CTYPE=en_CA.utf8
 LC_COLLATE=C
 
PATH=/home/username/bin86:/home/username/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/games:/opt/real/RealPlayer:/usr/lib/xscreensaver
 LANG=C
 SHELL=/bin/bash
SourcePackage: dash
Uname: Linux 2.6.27-15-generic i686

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
dash and /bin/sh test -nt (newer than) fails on large files
https://bugs.launchpad.net/bugs/461238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to