[PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using tests
From:
Bernhard Voelker
Subject:
[PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using tests
Date:
Wed, 23 Nov 2011 10:03:14 +0100
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16
Although my OpenSuSE system has e2fsprogs installed, the test
fiemap-perf cannot use it, because /usr/sbin is missing in
my (non-root) user's PATH:
fiemap-perf: skipped test: the `filefrag` utility is missing
SKIP: cp/fiemap-perf
This is similar to the matter in commit
5eeaca942ab8fc090cd6b0ae2fede698dc9a6f5d.
The attached patch fixing it (although I feel that we may
need a more generic function require_sbin_tool_).
Have a nice day,
Berny