Files
apfstests/common
Filipe Manana 90a5c23039 common: fix function _require_batched_discard()
Commit 01d42b7efe broke the check
for the success status of running fstrim. The [ ] bracets should
have been killed. This made several tests being skipped even when
the test/scratch devices support trim/discard.

For reference:

$ [ fstrim /mnt/ ] || echo foobar
bash: [: fstrim: unary operator expected
foobar

$ fstrim /mnt/ || echo foobar
$ echo $?
0

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-01-21 15:57:03 +11:00
..
2014-10-14 17:07:52 +11:00
2014-12-24 14:56:26 +11:00
2014-08-13 11:16:49 +10:00
2013-03-26 21:44:05 -05:00