summaryrefslogtreecommitdiff
path: root/tests/du/8gb
AgeCommit message (Collapse)Author
2006-08-19* NEWS: Fix cp --sparse so that it preserves tail-end sparseness, evenJim Meyering
when the file's apparent size is not a multiple of its block size. * src/copy.c (copy_reg): Don't write a NUL before calling ftruncate. For some file sizes, writing that single byte would unnecessarily waste a few file blocks. That write may have been necessary in the early days of Linux, but now, removing it should be safe. Based on a patch by Alan Curry: <http://bugs.debian.org/370792> * tests/cp/sparse: New test for the above. * tests/cp/Makefile.am (TESTS): Add sparse. * tests/sparse-file: New file, essence factored out of... * tests/du/8gb: ... here. Use the new script.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2005-02-02 Check for $2 -ge 128, rather than $2 = 128, in caseJim Meyering
there is a file system type that doesn't support sparse files, yet for which metadata takes up additional space.
2005-02-02Also adjust the test to detect systems that don't support sparse files.Jim Meyering
2005-02-02Detect sparse files on NTFS under cygwin.Jim Meyering
2003-05-03Skip test if the file system of `.' doesn't supportJim Meyering
sparse files -- otherwise it'd create a file of size 8GB. This happens on Darwin6.5 with a file system of type `hfs'.
2003-03-13Work around what appears to be an NFS failure thatJim Meyering
would make this test fail on some systems.
2003-03-05*** empty log message ***Jim Meyering
2003-03-05*** empty log message ***Jim Meyering
2003-03-05*** empty log message ***Jim Meyering
2003-03-05*** empty log message ***Jim Meyering