Use upstream version of fstrim instead of the local one

Local version of fstrim was dropped so that we depend on upstream
version which is now available via FSTRIM_PROG. _require_fstrim was
added to check if fstrim is available in the system and
_test_batched_discard to check if we can run fstrim on certain
mountpoint.

Also tests 251 and 260 were modified to reflect this change.

Signed-off-by: Tomas Racek <tracek@redhat.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Tomas Racek
2012-10-09 13:24:10 +00:00
committed by Rich Johnston
parent 680e88e7ca
commit 8ddf4d1a1e
8 changed files with 49 additions and 287 deletions
-1
View File
@@ -37,7 +37,6 @@ src/fill
src/fill2
src/fs_perms
src/fstest
src/fstrim
src/ftrunc
src/genhashnames
src/getdevicesize