summaryrefslogtreecommitdiff
path: root/tests/cp/same-file
AgeCommit message (Collapse)Author
2006-06-11Setting TIME_STYLE=long-iso in the environment would make theJim Meyering
cp/same-file test fail. * tests/envvar-check (vars): Add TIME_STYLE to the list. * tests/cp/same-file: Revert last change. Source the envvar-check script, to ensure that TIME_STYLE settings don't affect these tests.
2006-06-11* tests/cp/same-file: Execute 'ls' in the C locale, so that itPaul Eggert
uses POSIX time stamp formats. Problem reported by John Nixon in <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html>.
2004-06-23Replace all occurrences of `(exit N); exit' withJim Meyering
`(exit N); exit N'. Otherwise, those many tests could exit with improper exit status when exiting via e.g., a trapped interrupt. Thanks to a report from Bob Proulx.
2003-12-08Don't assume that 'ls' output is fixed-width.Jim Meyering
2003-05-14Use tr's \n notation rather than \012.Jim Meyering
2003-03-06Unset CDPATH. Otherwise, having theJim Meyering
CDPATH shell variable set could cause this test to fail.
2003-01-21Add comment, and remove now-unnecessary -l option.Jim Meyering
2003-01-21Don't assume that the file owner usernameJim Meyering
length is less than 9 in ls output: instead, omit that field altogether. Reported by, and suggested fix from, Ferdinand.
2002-06-15Change temp. file name: s/\.err/_err/, for DOS.Jim Meyering
2002-04-19Lots of clean-up:Jim Meyering
E.g., (exit $fail); exit t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
2000-10-22Source lang-default rather than open-codingJim Meyering
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
2000-09-25Don't use `diff -u'. It's not portable.Jim Meyering
Run `diff -c' only if cmp finds a difference.
2000-09-23adjust for change in behaviorJim Meyering
2000-09-05Redirect stdout to stderr before trying toJim Meyering
remove the temp directory. Otherwise, the `rm -rf' would get an error because the output file wouldn't be closed and the directory wouldn't be `empty'.
2000-09-05Remove the `cp -bdl symlink foo' case.Jim Meyering
since it's no longer portable (hard link to a symlink).
2000-09-05Remove the `cp -dl sl1 sl2' case,Jim Meyering
since it's no longer portable (hard link to a symlink).
2000-09-04Add new tests using cp's --rem option.Jim Meyering
Reflect the fact that cp's -f option no longer causes cp to remove the destination file before trying to open it. Reflect the fact that `cp -bdl' now makes a backup when copying a symlink onto the file it points to (FIXME: look into this, and why cp -bl does *not* do so).
2000-08-21Clean up traps. Create files in a subdir.Jim Meyering
2000-08-21remove `dir' in trap, tooJim Meyering
2000-08-21use better trapJim Meyering
2000-05-29Adapt to fit new semantics of `cp -d'.Jim Meyering
1999-05-23Correct erroneous expected output from the `cp -f foo foo' tests.Jim Meyering
1999-04-04Change the sed command used to extract theJim Meyering
filename from ls -l output, to accommodate the change in format.
1999-01-19put back mistakenly removed pwd= assignmentJim Meyering
1999-01-18Now that PATH is set properly, use rm and cp rather than $RM and $CP.Jim Meyering
1998-08-13*** empty log message ***Jim Meyering
1998-08-12add commented `diff -u' commandJim Meyering
1998-07-25Remove `diff' I'd put in for debugging.Jim Meyering
Exit with the status from cmp.
1998-07-25Skip three more unportable tests. These failed on SunOS4.1.4.Jim Meyering
1998-07-20.Jim Meyering
1998-07-03Skip tests that depend on link(2) not following symlinks.Jim Meyering
From Andreas Schwab.
1998-06-28*** empty log message ***Jim Meyering
1998-06-28*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27.Jim Meyering