mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-01 14:03:30 +08:00
Work around a failing test due to an NFS-based race condition.
* tests/cp/sparse: Accept a report that the copy is *smaller*.
This commit is contained in:
parent
64f972e94b
commit
24045feb85
@ -1,3 +1,8 @@
|
||||
2007-03-13 Jim Meyering <jim@meyering.net>
|
||||
|
||||
Work around a failing test due to an NFS-based race condition.
|
||||
* tests/cp/sparse: Accept a report that the copy is *smaller*.
|
||||
|
||||
2007-03-12 Jim Meyering <jim@meyering.net>
|
||||
|
||||
Make bootstrap.conf a tiny bit more generic.
|
||||
|
@ -52,6 +52,6 @@ fail=0
|
||||
cp --sparse=always sparse copy || fail=1
|
||||
|
||||
# Ensure that the copy has the same block count as the original.
|
||||
test `stat --printf %b sparse` = `stat --printf %b copy` || fail=1
|
||||
test `stat --printf %b copy` -le `stat --printf %b sparse` || fail=1
|
||||
|
||||
(exit $fail); exit $fail
|
||||
|
Loading…
Reference in New Issue
Block a user