diff options
author | Jim Meyering <meyering@redhat.com> | 2011-02-02 12:02:22 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-02-02 12:02:22 +0100 |
commit | 4e9ab7d3d87c24ff0671fc7c3be8c0a0873009ab (patch) | |
tree | 3bc997ca91d0db9796bd2b5543a59a58a8a323f4 /tests/cp/fiemap-perf | |
parent | 78ee2953bf4cd193f1bb5a2958de8dc31a18373a (diff) | |
download | coreutils-4e9ab7d3d87c24ff0671fc7c3be8c0a0873009ab.tar.xz |
tests: correct part of fiemap-perf
* tests/cp/fiemap-perf: Correct erroneous added test.
Since nonexistent names were used, the final test ended up
being "test =", which would always "succeed".
Diffstat (limited to 'tests/cp/fiemap-perf')
-rwxr-xr-x | tests/cp/fiemap-perf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/fiemap-perf b/tests/cp/fiemap-perf index 62272439b..7369a7d1b 100755 --- a/tests/cp/fiemap-perf +++ b/tests/cp/fiemap-perf @@ -31,6 +31,6 @@ timeout 10 cp f f2 || fail=1 # Ensure that the sparse file copied through fiemap has the same size # in bytes as the original. -test $(stat --printf %s sparse) = $(stat --printf %s fiemap) || fail=1 +test "$(stat --printf %s f)" = "$(stat --printf %s f2)" || fail=1 Exit $fail |