generic/077: fall back to /usr if /lib/modules doesn't exist
authorTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2014 01:20:56 +0000 (11:20 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:20:56 +0000 (11:20 +1000)
commitc4a6eb0a03a8f200e7bf669d26fd9043fc6d2e02
treec5f652a8e6f01ea68bfb5a0c9b788a4fef4ac787
parent2345aae984e1163b33a60ef80f1a5437d87427fc
generic/077: fall back to /usr if /lib/modules doesn't exist

We need a source of "filler" that can fill up a 50M file system.
Unfortunately, on some systems /lib/modules might not exist at all.
In that case, use /usr instead.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/077