From: Jim Meyering Date: Wed, 2 Feb 2011 11:02:22 +0000 (+0100) Subject: tests: correct part of fiemap-perf X-Git-Tag: v8.10~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e9ab7d3d87c24ff0671fc7c3be8c0a0873009ab;p=platform%2Fupstream%2Fcoreutils.git 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". --- diff --git a/tests/cp/fiemap-perf b/tests/cp/fiemap-perf index 6227243..7369a7d 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