From 040b00ef19fb1bbc0f7d3e5bec6ff82e19a92d26 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 31 Jan 2011 13:35:55 +0100 Subject: tests: remove duplicate fiemap-perf test * tests/cp/fiemap-perf: Copy block-comparing code from sparse-fiemap. * tests/cp/sparse-fiemap: The same test was here, alongside a much more involved test. Remove it, now that it is in its own file. --- tests/cp/fiemap-perf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/cp/fiemap-perf') diff --git a/tests/cp/fiemap-perf b/tests/cp/fiemap-perf index 6c588cbc5..bd8fab8d4 100755 --- a/tests/cp/fiemap-perf +++ b/tests/cp/fiemap-perf @@ -29,4 +29,8 @@ timeout 10 truncate -s1T f || framework_failure_ # Nothing can read (much less write) that many bytes in so little time. 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 + Exit $fail -- cgit v1.2.3-54-g00ecf